3 ms·
> There's nothing about these kinds of languages that should result in inherently significant performance differences on such synthetic microbenchmarks. I gues
by alkonaut 5y ago
> There's nothing about these kinds of languages that should result in inherently significant performance differences on such synthetic microbenchmarks.
I guess it depends on what significant is but I certainly hope Rust can be faster than C in many scenarios due to optimizations llvm can make with the added type information such as inferring aliasing rules.
- Ygg2 5y agoFrom my understanding, LLVM had or has many bugs around alias rules. I remember Rust emitted proper noalias IR to LLVM, only for it to be promptly ignored. https://github.com/rust-lang/rust/issues/54878 https://github.com/rust-lang/rust/issues/54878