Re:Energy Efficiency Across Programming Languages
by devveppev on Thursday September 14, 2017 @11:56PM
(#15254515)
I'm talking about stuff like putting your code in classes, initializing with constructors, or using your language's standard library instead of writing your own stuff.
Perhaps idiomatic was the wrong word. I mean that the code isn't supposed to be fighting the language.
What were your observations when you were contributing? Which problems were you working on? Any chance you still have the code?
Re:Energy Efficiency Across Programming Languages
by Veedrac on Friday September 15, 2017 @08:30AM
(#15256545)
> I mean that the code isn't supposed to be fighting the language.
That's the issue: those programs that did best were those that fought the language the most, and those that pushed the closest to the edge of the rules. You can't, in general, look at two programs and assume they approach the problem the same way.
This could not be further from my observations when I tried contributing. These results are neither controlled nor the result of idiomatic programs.