Oh, so riffing on my last blog post about specialized iteration syntax. for par x.await? in y {} What if we had something similar but for vectorized operations? Speeding up loops depends on heuristics-driven loop vectorizers (e.g. LLVM). What if we had syntax for this?
-
Show this thread
-
Was looking at how "faster" has an API similar to std::iter::Iterator. I'm reasonably convinced we can transform (a subset of) existing loop syntax to e.g. rayon/async-std streams. So I'm now wondering if we could do the same for loops -> "faster" https://docs.rs/faster/0.5.0/faster/index.html#multiple-collections …
2 replies 0 retweets 2 likesShow this thread
I don't really know enough about SIMD operations to make any definitive statements here. But I think this would be intriguing to explore. Rust's borrow checker removes the need for various compiler heuristics by providing complete information. Wonder if loops could be similar.
2:36 AM - 21 Jan 2020
0 replies
0 retweets
2 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.