Hacker News new | ask | show | jobs
by miltondts 1868 days ago
This is probably the only way to have fast software in today's hardware.

Unfortunately the popular languages are all about single element at a time, and pointer chasing with the compiler having a hard time vectorizing operations and reorganizing data structures. I think most compilers don't/can't even do this because there are not enough guarantees. The only systems that actually do this are DBMSs.

1 comments

> compiler having a hard time vectorizing operations and reorganizing data structures

Reminds me of a recent blog post on exactly this topic. Apparently the Jai language might make some progress on this point.

https://blog.royalsloth.eu/posts/the-compiler-will-optimize-...

• Discussion: https://news.ycombinator.com/item?id=27010965