💾 Archived View for bbs.geminispace.org › s › pascal › 15048 captured on 2024-03-21 at 18:31:29. Gemini links have been rewritten to link to archived content
-=-=-=-=-=-=-
https://hackaday.com/2021/11/18/c-is-the-greenest-programming-language/
this is an article about the research. couldn't help but notice that pascal is on the top row in three columns.
that's because of the language and because freepascal compiler is written very good.
Feb 16 · 5 weeks ago
It's not surprising to see that garbage collected languages and languages that do more heap allocations are less "efficient". Heap allocation and freeing can be CPU intensive, or less cache-friendly. Plus, things like Go's escape analysis probably makes some languages competitive in some synthetic benchmarks.