From your other posts it looks like you got this working in the end?
While you should be able to get 28k of code into something like Puck.js, it also depends how that code is written. If it says 'new Uint8Array(100000)' somewhere then obviously it'll still run out of memory - most code written for the web browser doesn't even start to think about RAM usage - it's just the size of the minified JS.
There are other issues too (some of which are covered in http://www.espruino.com/Performance), but using 'save on send' will probably make sure you can get the module into the device itself - it's then just whether it'll execute or not!
© Espruino, powered by microcosm.
Report a problem