Oh, you're right, I used NRF52840. the final flat string binary with compiled code is 7860 bytes long. And the atob("xxx") string is 11 kB so it may momentarily need 20kB if loaded to ram. When uploaded to flash it could be better.
It is true that compiled javascript is quite bloated. InlineC https://www.espruino.com/InlineC would be much smaller (and faster).
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.
Oh, you're right, I used NRF52840. the final flat string binary with compiled code is 7860 bytes long. And the atob("xxx") string is 11 kB so it may momentarily need 20kB if loaded to ram. When uploaded to flash it could be better.
It is true that compiled javascript is quite bloated. InlineC https://www.espruino.com/InlineC would be much smaller (and faster).