News for hackers. Stuff that matters.
Re:Energy Efficiency Across Programming Languages by int_19h on Thursday September 14, 2017 @08:45PM (#15253706)
I'm kinda surprised to see Go score so low on some of these, given that it's AOT-compiled to native code, and that its memory model and safety guarantees are optimization-friendly.

I'm also kinda surprised that OCaml scored that high, considering how high-level it is.

Re:Energy Efficiency Across Programming Languages by tyoverby on Friday September 15, 2017 @12:32PM (#15258445)
OCaml has an incredible optimizer, and many of the abstractions that one would use in OCaml are transparent to the optimizer.

You could say the opposite about Go.

Re:Energy Efficiency Across Programming Languages by int_19h on Saturday September 16, 2017 @07:40PM (#15267368)
Kinda makes me wonder why OCaml didn't become more popular for Unix systems programming, the way Go seems to be becoming now. Looking at the two languages, it seems like pretty much everything that Go has to offer in that department, OCaml has as well - and if it also optimizes better, why is this even a contest?