Re:Tessel: A microcontroller that runs JavaScript
by dkersten on Tuesday June 10, 2014 @09:43AM
(#7872396)
Do they not support templates? I'd be happy with "C with classes, templates and RAII". But point taken regardless.
I completely agree - I'm also much more interested in Rust for low level and embedded programming!
Hrm, I stand corrected. I thought that at least some of the Javascript implementations were C-only, but it looks like they all require C++.
> I've done a good bit of embedded programming in C and I wouldn't need all of C++ to make life a lot easier.
Templates, exceptions, and memory allocation all interleave and you pretty much can't have one without all of them. And that's a huge amount of overhead on a truly small system (which this is not--my first Linux box wasn't 180MHz with 32MB or RAM). About the only thing you can have standalone is the original "C with classes" subset of C++. And I just don't find that very much more useful over straight C (and certainly not over the latest standard C11)
However, I'm much more interested in Rust on embedded systems than these dynamic languages.