6 ms·
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 pointe
by miltondts 5y 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.
- MaxBarraclough 5y ago> 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-that-away/ https://blog.royalsloth.eu/posts/the-compiler-will-optimize-... • Discussion: https://news.ycombinator.com/item?id=27010965 https://news.ycombinator.com/item?id=27010965