+ 2
Programming languages for low-energy consumption
Is correct the assumption that pre-compiled langs (such as C/C++) consume less energy than interpreted langs (Python, Java)? For either embedded (Arduino) and PC/RaspberryPi. I mean, use an array of some electronic devices with batteries.
8 Réponses
0
Martin Taylor thx for answer
By array of devices I refer a "cluster" of physical electronics, not the software array sense.
About the timer triggered is something already thought in; use a sensor or fixed intervals to perform tasks.
Not involved with Arduino yet, but Im convinced that it supports it in some way.
Maybe there are better options aditionally to Arduino and Raspberry Pi, though, to automate stuff inside home, in a farm, industry, etc.
0
@Martin Taylor
Oh I see, firmata (or pyfirmata) is based on c++.
The RealPython blog didn't covered this and they said is "Using high level language like python on Arudino".
So, before reading your statement I thought that Arudino also supports python.
But we can run python codes with Arudino using PyFrimata
- 1
Martin, I think python is supported on Arudino