💾 Archived View for bbs.geminispace.org › s › pascal › 15048 captured on 2024-08-18 at 19:45:26. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2024-07-09)

➡️ Next capture (2024-08-31)

🚧 View Differences

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

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 · 6 months ago

1 Comment

😈 dimkr · 2024-02-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.