First of all, I couldn't agree more with the first two comments. Secondly, I just wanted to clarify something. The RAM contains your variables, since functions and prototypes and objects are variables too, so is all code on the espruino on the RAM? Then when you type save() it saves all those to the flash and loads it back into RAM when called with the onInit()? For my project we won't be using very large arrays of data but we do have a lot of code to run. What exactly is on the flash and what can be stored on the SD card?
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.
First of all, I couldn't agree more with the first two comments. Secondly, I just wanted to clarify something. The RAM contains your variables, since functions and prototypes and objects are variables too, so is all code on the espruino on the RAM? Then when you type save() it saves all those to the flash and loads it back into RAM when called with the onInit()? For my project we won't be using very large arrays of data but we do have a lot of code to run. What exactly is on the flash and what can be stored on the SD card?