3 ms·
This got me wondering what other scripting languages folks use in embedded, low memory setups. I found this about Lua: [1] [1] https://nicksypark.medium.com/th
by facorreia 4y ago
This got me wondering what other scripting languages folks use in embedded, low memory setups. I found this about Lua: [1]
[1] https://nicksypark.medium.com/the-feasibility-of-the-embedded-software-development-with-lua-programming-e37c409c3c19 https://nicksypark.medium.com/the-feasibility-of-the-embedde...
- alexisread 4y agoI think it depends on how hard-core you want to go. Fennel runs in 2K of ram https://news.ycombinator.com/item?id=31029478 https://news.ycombinator.com/item?id=31029478 Picbit ran in 256bytes, it's descendent is slightly larger https://github.com/stamourv/picobit https://github.com/stamourv/picobit Staapl compiles scheme to Forth, to also run on the PIC18 https://www.concatenative.org/wiki/view/Staapl https://www.concatenative.org/wiki/view/Staapl Of course there is also Sectorlisp, the smallest language out there in 436bytes, 64k ram https://justine.lol/sectorlisp2/ https://justine.lol/sectorlisp2/
- CharlesW 4y agoThere's JavaScript/ECMAScript via Moddable's XS engine: https://github.com/Moddable-OpenSource/moddable https://github.com/Moddable-OpenSource/moddable "A typical microcontroller used with the Moddable SDK has about 45 KB of free memory, 1 MB of Flash ROM, and runs at 80 MHz. The Moddable SDK uses many different techniques, both at build time and at run time, to work efficiently on these devices."