3 ms·
Embedded GCs will never take off, waste of power. Everyone whose tried is either completely niche or out of the game. People should stop reinventing the wheel a
by halfmatthalfcat 1y ago
Embedded GCs will never take off, waste of power. Everyone whose tried is either completely niche or out of the game. People should stop reinventing the wheel and just use C.
- teamonkey 1y agoJava is somewhat successful in the embedded sphere.
- jeremyjh 1y agoFor example, every credit card chip.
- p_l 1y agoI wouldn't exactly call Roomba niche... ;)
- tliltocatl 1y agoMeh. I absolutely agree that automatic memory management (and, often, any dynamic memory management, automatic or manual) on embedded is both a waste of power and problematic in terms of reliability, but that doesn't mean we should not try to improve C's rougher edges. Like, you know, dubious overflow handling rules, strict aliasing, lack of namespaces, no useable compile-time metaprogramming (when people say they hate preprocessors, they mostly mean they hate C preprocessor).
- aDyslecticCrow 1y agoZig seems pretty nice. And rust has some decent embedded support (though you have to be careful about what features you use i presume). A standardised rust subset could be nice.
- anitil 1y agoThere's a big range of 'embedded' from CR2032-powered low-profile devices up to mains-powered logging devices with no size constraints. I agree in the first case you're unlikely to want GC but in the latter case it probably makes no difference Given the rise of embedded linux, my last project was in Python! A complete waste of resources/memory but I get paid for results not for code