<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/bdxp6jlj9" -->

---
title: Which Programming Languages Use the Least Electricity?
description: A team of researchers in Portugal analyzed the energy, speed, and memory usage of 27 programming languages using 10 benchmark problems from the Computer...
canonical: https://daily.dev/posts/bdxp6jlj9
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Which Programming Languages Use the Least Electricity? | daily.dev
og:description: A team of researchers in Portugal analyzed the energy, speed, and memory usage of 27 programming languages using 10 benchmark problems from the Computer...
og:url: https://daily.dev/posts/bdxp6jlj9
og:image: https://api.daily.dev/og/posts/bdxP6JlJ9.png
og:image:alt: Post cover image
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Which Programming Languages Use the Least Electricity?

**[Code Green](https://daily.dev/sources/codegreen)** · [@pamelaampersand](https://daily.dev/pamelaampersand) · 15 upvotes · 1 comments

## Summary

A team of researchers in Portugal analyzed the energy, speed, and memory usage of 27 programming languages using 10 benchmark problems from the Computer Language Benchmarks Game. They found that while C was generally the fastest and most energy-efficient, results varied depending on the test and criteria. Compiled languages were typically more efficient than interpreted ones, but factors like compiler quality and libraries also impact power consumption. Overall, no single language emerged as consistently superior across all scenarios, emphasizing the importance of context in choosing a programming language based on energy efficiency.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://thenewstack.io/which-programming-languages-use-the-least-electricity/>

## Community discussion

Top comments from developers on daily.dev.

**@znackt\_codes** · 3 upvotes

> Didn't knew programming languages drain energy 😅

---

Tags: [#performance](https://daily.dev/tags/performance)

[View this post on daily.dev](https://daily.dev/posts/bdxp6jlj9)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"DiscussionForumPosting","mainEntityOfPage":"https://daily.dev/posts/bdxp6jlj9","headline":"Which Programming Languages Use the Least Electricity?","text":"Shared: Which Programming Languages Use the Least Electricity?","url":"https://daily.dev/posts/bdxp6jlj9","datePublished":"2024-07-11T17:23:21.417Z","dateModified":"2024-07-13T07:37:51.230Z","author":{"@type":"Person","name":"pamela.ampersand","url":"https://daily.dev/pamelaampersand","image":"https://media.daily.dev/image/upload/s--2FrkIlPp--/f_auto/v1720724674/avatars/avatar_7miO32dQDRjFrxKDIj6hp","description":"Authentic, kind and sometimes silly.","interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"EndorseAction"},"userInteractionCount":190}},"image":"https://media.daily.dev/image/upload/s--OHB84bZF--/f_auto/v1722860399/public/Placeholder%2010","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":15},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":1}],"sharedContent":{"@type":"WebPage","url":"https://api.daily.dev/r/CCjpWhBQA"},"comment":[{"@type":"Comment","text":"Didn’t knew programming languages drain energy 😅","datePublished":"2024-07-17T20:17:48.593Z","url":"https://daily.dev/posts/bdxP6JlJ9#c-OMiL5RtbR","author":{"@type":"Person","name":"Subhra","url":"https://daily.dev/znackt_codes","image":"https://media.daily.dev/image/upload/s--p58E02ds--/f_auto/v1719289022/avatars/avatar_lD7RUM1ne7bOzNWWUegzk"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":3}}],"isPartOf":{"@type":"WebPage","url":"https://daily.dev/squads/codegreen","name":"Code Green"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Code Green","item":"https://daily.dev/squads/codegreen"},{"@type":"ListItem","position":3,"name":"Which Programming Languages Use the Least Electricity?"}]}
```

