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

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.




I 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.


I don't think most CPUs expose caches in any way. You can only hope a variable will be cached.


Given 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.




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

Search: