💾 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

View Raw

More Information

➡️ Next capture (2024-05-10)

-=-=-=-=-=-=-

power consumption of programming languages

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.

Posted in: s/pascal

🐙 norayr [mod]

Feb 16 · 5 weeks ago

1 Comment

😈 dimkr · Feb 17 at 14:04:

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.