News for hackers. Stuff that matters.
Re:What Are the Greenest Programming Languages? by alpaca128 on Wednesday February 23, 2022 @05:10AM (#30439588)
I wonder how you even manage to measure this in a way TypeScript looks so much worse than JavaScript (21.5 vs 4.45). After compilation it's literally the same language.

Edit: The culprit seems to be the compute-heavy benchmark `fannkuch-redux` which basically plays around with permutations. The problem I see with this is that TypeScript is generally used for very different applications, and in those it'll rarely be any different than JS. Same with Python, which you wouldn't use for data crunching without one of the well-known highly efficient libraries (which were not written in Python). So overall this asks the question "what are the greenest programming languages for benchmarks?"

There are no comments on this comment yet.