I have a Raspberry Pi that runs under a power bank (battery) of 10.000 mAh.

I want to develop and application which does non-blocking IO from the USB port and sends data over network to accumulation server.

The first choice was to develop this app in Python which would be easy and fast. Then, after searching, I realized that Python seems to be one of the most costly languages ,when it has to do with energy consumption.

Currently, I am searching which could be the most suitable language in order the battery to last longer?

And to be more specific,

Is difference in energy consumption so important in this kind of setup? I mean is the code running consumes so much energy that can create a significant difference in battery life?

And secondly, do anyone know a way actually run a program and measure its consumption?

thanks a lot ~yiorgos


I doubt the programming language would make any measurable difference to power consumption. I have not heard of programming language as a factor in running costs.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.