4 ms·
The simpler ATmega-based Arduino boards don't have the chops to run a JavaScript runtime. The 328P used in the Uno only has 32KB of program storage and only 2KB
by balefrost 10y ago
The simpler ATmega-based Arduino boards don't have the chops to run a JavaScript runtime. The 328P used in the Uno only has 32KB of program storage and only 2KB of RAM! The Zero, which is ARM-based, has 256KB of storage and 32KB of RAM. That's still probably too little to run a full JS implementation, but it might work if the JS is precompiled before being sent to the device.
Compare with the NetDuino, which runs the .NET micro framework. It has 1.4MB of program storage and 164KB of RAM. And even that is dealing with a binary program representation.