A tiny Python called Snek
A tiny Python called Snek
Posted Jan 31, 2020 20:35 UTC (Fri) by simcop2387 (subscriber, #101710)In reply to: A tiny Python called Snek by dgm
Parent article: A tiny Python called Snek
It's not generally possible with the default ATMEGA328 processors on arduinos. Porting the code and everything generally works fine and is easy to do but the real problem is the lack of memory on them, only 2KB of RAM. That causes a number of problems for LUA to do anything non-trivial due to the way the VM and everything works. That said I use a cortex m3 + lua to run my christmas lights. You don't need much more ram for it to suddenly be useful, about 4K seems to be the spot in my experience, and the 32kb on the arm processor I use is obviously morebetter.