WRT JS vs C, I'm getting the feeling that some things will have to be pushed down into C to save memory. What would be neat is if one could use the generic interfaces that make the JS stuff work from C. For example, for the network stuff it ought to be possible to call the functions exported via a JsNetwork (https://github.com/espruino/Espruino/blob/master/libs/network/network.h#L51-L73) from other C code and thereby make that somewhat target independent.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
WRT JS vs C, I'm getting the feeling that some things will have to be pushed down into C to save memory. What would be neat is if one could use the generic interfaces that make the JS stuff work from C. For example, for the network stuff it ought to be possible to call the functions exported via a JsNetwork (https://github.com/espruino/Espruino/blob/master/libs/network/network.h#L51-L73) from other C code and thereby make that somewhat target independent.