|
|
|
|
|
by Accipitriform
2918 days ago
|
|
> What makes Rust, like C or C++, efficient is not just that they are statically compiled, it's that they have massively-tuned optimizing compiler spending a lot of time in compile-time optimizations. Consider that javac and the Java runtime have received plenty of resources and development time (since 1995 or so!). The overhyped claim in the early days of Java was that it would be "faster than C" due to JIT optimizations. That has certainly turned out to not be the case. Further, Java and all the other managed languages (to include the CLR languages) remain unsuitable for real time applications due to GC pauses. As this article points out, memory consumption for JVM based systems is also usually vastly higher than for C/C++/Rust/Ada. C++ in particular has been a dumpster fire of a language, and IMO has set the industry back considerably. It's good to see Rust and a few other languages providing much better alternatives in the same space - languages suitable for lean, real time, high performance applications. |
|