Re:Thoughts on replacement languages
by zzzcpan on Saturday January 10, 2015 @07:37PM
(#8868555)
It's not why C is faster, it's more about being able to use hand crafted SSE2 instructions and existing libraries with such optimizations. Nothing competes with C when performance really matters.
[ Parent
| on HN ]
You can use "hand-crafted" SSE2 instructions and libraries with the same in Rust. Servo heavily relies on Skia, for example…
There is also a case for making highly optimized C performance easier to attain, without needing to resort to unsafe code. You can do this by providing more invariants to the compiler via a better type system, which gives it more room to optimize. It may never get to the performance of hand-optimized stuff, but for that there is unsafe code blocks.
Technically Fortran does compete. For computational applications it is faster than C and hence why it's so popular in supercomputing.