Have you ever thought of green programming?

14.10.2022
 · 
2 min read

In the beginning of every new project, the important and far-reaching question arises as to which programming language should be used. For current reasons, it is a good idea to keep an eye on the energy consumption of the different languages and to include this in the decision.

A study from Portugal has dealt with the different energy consumption of the programming languages. The factors speed and memory play an important role here. 

For the study, the Portuguese research team took a close look at 27 programming languages of different paradigms and measured the execution time of codes as well as the peak memory utilization. They compared how time and consumption are related. Since development teams often have limited resources, the results were categorized according to different combinations of the selected characteristics.

The first three places were taken by C, Rust and C++. 

We at PIONIX also chose C++, not only for efficiency reasons. Why? We wanted to set up a community project and C++ offers a lot of benefits. Although Rust is more modern, it is less common and therefore not conducive to the community project. However, by using modern C++ (version 14 and higher if possible) we have access to many modern language constructs. 

But we don't want to force anything onto you. That is why in #EVerest it is also possible to implement Java Script/Python/etc. for rapid prototyping if that is desired, since each module can be written in a different language.

https://www.heise.de/news/Gruenes-Programmieren-C-und-Rust-energieeffizient-Python-und-Perl-Schlusslicht-7259319.html

Image: 

https://unsplash.com/photos/RyLsRzy9jIA

Photo by Niclas Illg & Jackie DiLorenzo on Unsplash.

Featured Image
Chargebyte brings their first charge controller based on an NXP chip exclusively, running Open Source EVerest technology stack.
Featured Image
Omni-channel payment solution provider CCV aims to bring out-of-the-box support for it's payment terminal protocol into EVerest EV drivers still struggle with login failures, crashes, slow performance, and connection problems to charging stations. Let’s …
Featured Image
The future belongs to those who believe in the beauty of their dreams. Eleanor Roosevelt's famous words are a powerful reminder that our beliefs shape our future. At Pionix, we work hard to shape …
Featured Image
Enteligent, developer of solar-powered electric vehicle service equipment (EVSE) and solar power optimization technologies, is expediting the development of its TLCEV solar EV charger by teaming with PIONIX. The collaboration aims to use the …
Featured Image
U.S. Joint Office of Energy and Transportation Partners With Linux Foundation Energy to Improve Reliability and Interoperability of EV Charging Nationally.
Featured Image
We are thrilled to announce that Kevin Sartori joins Pionix as member of the Board.
Featured Image
It was a real milestone, not only for Marco but for Pionix and of course the EVerest project. From October 24th to November 8th, the OCA participants have voted for a new OCA Board …
Featured Image
Marco Möller explains at The Smarter E Podcast why open source software for EV charging stations such as EVerest can solve many of the typical challenges the charging industry faces today.
Featured Image
Qwello has a number of ambitious goals with EVerest. In 2024, Qwello wants to run all of their chargers on EVerest.
Featured Image
PIONIX integriert eine Kommunikationsschnittstelle zu Bender -Sensoren in den Open-Source-Softwarestack EVerest.
pionix_white

COPYRIGHT PIONIX 2024. All Rights Reserved.