2 ms·
You can run those language on very small devices. MicroPython works great on the micro:bit for instance, which only has 16k of RAM. An Arduino might be pushin
by monocasa 6y ago
You can run those language on very small devices. MicroPython works great on the micro:bit for instance, which only has 16k of RAM. An Arduino might be pushing it though with 2k of RAM. Lisp was originally run on a system that had 4K 36bit words of memory for RAM, but no ROM (the IBM 704).
There's a pretty long history of virtual machines on small memory systems, going back to the days of BASIC and SWEET16. They can actually make better use of memory in some cases, with the VM byte code sort of being a compression technique versus native code.
https://en.wikipedia.org/wiki/SWEET16 https://en.wikipedia.org/wiki/SWEET16