Hacker News new | past | comments | ask | show | jobs | submit login

This is a very valuable contribution to computer science that has been overlooked because of how obscure the implementation language is.

The idea of that flattening a tree into an array with relative indexing to represent the structure opens up a whole bag of performance tools.

Parallel processing is just one (major!) aspect. It also enables GPU processing and unlocks SIMD instructions. Not to mention that instead of millions of tiny inefficient mallocs, this can use large contiguous arrays.

An itch I’ve been meaning to scratch is implementing something like Equality Saturation on top of this data structure in the style of EGG (e-graphs good).

Combine that with the Category Theory work done recently in the Haskell world for arbitrary structure to structure functional maps and you could make a compiler that takes a bunch of term rewrite rules and spits out parallel GPU code that can apply optimisation rewrites at enormous speed.

“The best thing about the computer revolution is that it hasn’t happened yet.”




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: