Hacker News new | ask | show | jobs
by mrweasel 841 days ago
This is something we've been slightly interested in, as a means to reduce power consumption and the number of servers we need to operate. It's just an insane amount of work trying to rewrite software and finding the bits where produces the most results.

It's not really surprising to see C and C++ doing so well, also positive to see Rust being up there as one of the most energy efficient languages. The one language that keeps surprising me is Pascal. It often in the top 5 - 10 in terms of speed and it also does really well for energy consumption. While I haven't read the article, I could also imagine that it's good in terms of "power spend compiling" due to it's one-pass compiler. What I'm not sure of is if it's all a result of the language design, or if it's because it just had a lot of work put into it over the years by some really smart people. I presume that the tested implementation is Free Pascal.