News for hackers. Stuff that matters.
Re:Nim vs Rust Benchmarks by alkonaut on Monday February 07, 2022 @08:45AM (#30244721)
> 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.

Re:Nim vs Rust Benchmarks by Ygg2 on Monday February 07, 2022 @09:31AM (#30245328)
From 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