3 ms·
The day 60GB of RAM is the norm. Just wait till embedded development shifts to node.
by kartD 10y ago
The day 60GB of RAM is the norm. Just wait till embedded development shifts to node.
- tracker1 10y agoFor the "bigger" embedded platforms (rpi and similar), node is pretty serviceable... There have been other efforts to get JS based engines working well too. It depends on how you define embedded.
- kartD 10y agoI was a little angry with my browser so that was meant to be an insult. JS (not node) is usable for embedded coding. An example would be http://www.espruino.com/ http://www.espruino.com/. Newer boards that come on Kickstarter typically support JS since it's a great intro language for coding especially for kids.
- tracker1 10y agoIt's funny, but I like JS a lot, still think that Python is probably a better learning language... there's enough sharp edges in JS, that I don't think it's great for starting with, other than it's accessible, and combined with a browser, close to instant gratification.
- endgame 10y agoTeaching JS to kids? Let's hook Dijkstra up to a dynamo, he'll be spinning in his grave fast enough!
- kartD 10y agoI think it's great in the sense that you can easily make apps, games etc. which is good for getting kids interested quickly. Once their hooked, we can push them to some of the "better" languages.
- pvdebbe 10y agoAs long as Python actively refuses to support real constants among some other immutability related features, I think the more recent versions of JS are going to get past Python in sheer elegance of code.
- tracker1 10y agoI'm inclined to agree to some extent... I think that JS can be beautiful and intuitive. However, I've seen too many instances of the following. var bazCopy = []; for (var i=0; i<bar.baz.length; i++) { var orig = bar.baz[i]; bazCopy[i] = { fizz: orig.fiz, buzz: orig.buzz }; } parentCopy.baz = bazCopy; Over map/reduce/filter, and the like... Sometimes doing code reviews on pull requests is exhausting.
- abritinthebay 10y ago> Just wait till embedded development shifts to node. It already has. See Tessel (now on v2 of their board), and the Espruino which powers the pretty sweet Puck.js board.
- joezydeco 10y agoIf you're Microsoft with their Azure/IoT setup, it's already happening. I've been spelunking in their SDK and it makes me want to tear my hair out. I'm working with Cortex-M0/M3 devices kicking bytes over wifi modems, and Microsoft believes a "device" is a desktop-class SoC with an Ethernet jack running Node.
- pjmlp 10y agoWell you could use Java instead. :) http://www.microej.com/products/ http://www.microej.com/products/
- joezydeco 10y agoYou know, in an alternate universe where ARM Jazelle took off, that might not be so bad. But in this universe I'm all out of hair.
- pjmlp 10y agoThere is such alternate universe, even if not in large scale. It is composed by the likes of PTC, IBM J9 Embedded or other alternative languages like .NET MF and Oberon. But I do conceded it is not an option most of the time. Good luck with the project.