3 ms·
It requires a special kind of programming. Maybe they should just release the benchmarks instead of saying "small". By the way, I wouldn't be surprised if Rust
by amelius 4y ago
It requires a special kind of programming. Maybe they should just release the benchmarks instead of saying "small".
By the way, I wouldn't be surprised if Rust 2.0 will feature a typechecker that guarantees that everything fits in the L1 cache.
- P5fRxh5kUvp2th 4y agoGiven that the size of L1 cache can vary, I strongly doubt it. At best it can guarantee everything fits into a specific size, which may or may not be smaller than L1 cache.
- pid-1 4y agoI don't think most CPUs expose caches in any way. You can only hope a variable will be cached.
- flumpcakes 4y agoI really am stretching to find a link between a typechecker and L1 cache. Perhaps some kind of dynamic analysis of code and averaged data could give you a non-empiric measurement of L1 cache utilisation but considering cache behaviour it's not standardised even within one vendor it would be a ball-park guess at best.