3 ms·
I really liked this post because it painted why JavaScript is a good language to use across so many projects. I've always loved node.js despite the many quirks
by kylehotchkiss 10y ago
I really liked this post because it painted why JavaScript is a good language to use across so many projects. I've always loved node.js despite the many quirks but enjoy getting to use it for nearly every aspect of work. I'm hoping arduino will support JavaScript directly in the near future as well!
- balefrost 10y agoThe 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.