3 ms·
It's super interesting how Java got into the top 5 in the energy usage chart since the JVM is JIT compiling the code and running the code. It's doing more work
by fnord123 6y ago
It's super interesting how Java got into the top 5 in the energy usage chart since the JVM is JIT compiling the code and running the code. It's doing more work than the other compiled languages so its budget to come in using less watts is really strict (Pascal, Chapel, Ocaml, Haskell, ). It's something worth exploring further.
In fact in the updated version with Julia added[1] , Julia takes very long to do anything since the Julia warmup is so awful. But somehow even though Julia takes 2.57 times longer to compute results (357%) than Rust and 93x more memory for fannkuch-redux, it's using only 23% more energy. All the while doing tracing JIT and rewriting memory segments to set for execution.
[1] https://sites.google.com/view/energy-efficiency-languages/updated-functional-results-2020?authuser=0 https://sites.google.com/view/energy-efficiency-languages/up...
- throwaway189262 6y agoJava's JIT is fast and quite good. The only JIT language faster than Java (that I know of) is C#