3 ms·
> very,very high performance if you really need it But not as high performance as Java directly. And typically not as high performance as native languages, whi
by hellofunk 10y ago
> very,very high performance if you really need it
But not as high performance as Java directly. And typically not as high performance as native languages, which the author addresses.
- pron 10y agoThere's absolutely nothing about native languages that makes them a-priori faster than the JVM. On the contrary, the JVMs compiler is likely to emit betteroptimized machine code than their compilers. Some low-level languages (like C/C++/Rust) can (and do in many cases) offer better performance, but that's not because they're "native" but because they allow (and require) finer control over every operation. This level of control comes at a significant cost, though.
- hellofunk 10y agoNotice I said "typically" because, typically it is true that a native language runs faster than Clojure, which is what my comment was referring to.