Just fyi - the Linux port uses a slightly different method of variable storage that lets it dynamically grow the memory it uses (the MCU versions needs to allocate it up front)
Even if you store code in flash, each function will use 2 or 3 vars to store the pointer to the code. But still - it's a big improvement.
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.
Just fyi - the Linux port uses a slightly different method of variable storage that lets it dynamically grow the memory it uses (the MCU versions needs to allocate it up front)
Even if you store code in flash, each function will use 2 or 3 vars to store the pointer to the code. But still - it's a big improvement.