5 ms·
not java.
by diqwndwqiond 6y ago
not java.
- imtringued 6y agoJava is in the top 5 in the energy usage chart. It's only at the bottom of the memory usage chart (this was expected).
- fnord123 6y agoIt'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#
- chrisseaton 6y agoWhat makes you say that? Java is better than almost all other languages here for energy efficiency.
- diqwndwqiond 6y agoIt was a joke: "java bad".
- chrisseaton 6y agoBut the evidence being presented here says that joke doesn't make sense in this context. If it's a joke it's an ignorant one.