3 ms·
String manipulation and dynamic memory allocation are kind of awful in C (this coming from someone that's written a web browser in the language.) I'm not sure
by swiley 6y ago
String manipulation and dynamic memory allocation are kind of awful in C (this coming from someone that's written a web browser in the language.)
I'm not sure javascript would be my first choice of a replacement (really scheme is pretty amazing, and more general than C even. With a tiny amount of work you can even avoid the garbage collector and get pretty much every advantage C had with a more minimalist, general, and expressive language) but it's very popular and has most "normal" things that c lacks. Arguably these aren't thins you should be doing on a "micro controller" (IMO you're generally best off sticking to state machines and avoiding dynamic memory allocation.)