107
Ranking of the most energy-efficient programming languages
(lemmygrad.ml)
Post funny things about programming here! (Or just rant about your favourite programming language.)
Quite a few unexpected results here...
Pascal is a simpler and more limited language, so it's not entirely surprising. It also has less and smaller standard libraries to link in.
As to C# and F#, what's wrong with the difference? The functional coding style of F# prefers immutable data over possibly mutable ones in C# and that requires more allocations and garbage collection.
I haven't looked into the details of the actual code, but I would expect the compiler optimizations and JIT to figure it all out and end up with very similar native code. Especially since both languages are mature and had enough time to reach such goals. But it's quite possible my assumptions are incorrect.