A tiny Python called Snek
A tiny Python called Snek
Posted Jan 24, 2020 5:56 UTC (Fri) by keithp (subscriber, #5140)In reply to: A tiny Python called Snek by SEJeff
Parent article: A tiny Python called Snek
Yeah, the ESP32 isn't exactly tiny. But, it's something I had lying around, so naturally I ported Snek to it. Somehow, I tend to collect tiny microcontroller boards. They're like coat hangers around here.
MicroPython uses a couple hundred kB of ROM; which is amazingly small considering how much Python that includes. Snek is a much less capable language, but it can squeeze down to about 32kB of ROM if you leave out the math functions.
Snek currently has ports for:
- Adafruit Crickit FeatherWing (Atmel SAMD21)
- Arduino Duemilanove (Atmel ATmega 328P)
- ESP32
- Adafruit Feather M0 Express (Atmel SAMD32)
- SiFive HiFive1 Revb (RISC-V)
- Adafruit ItsyBitsy (Atmel ATmega 32u4)
- Arduino Mega (Atmel ATmega 2560)
- Adafruit Metro M0 (Atmel SAMD21)
- Arduino Nano 33 IoT (Atmel SAMD21)
- Adafruit Circuit Playground Express (Atmel SAMD21)
- POSIX (for testing and debugging)
- QEMU for ARM (Cortex M3)
- QEMU for RISC-V (rv32imac)
- Arduino µduino from Crowd Supply (Atmel ATmega 32u4)
These range from 32kB of ROM and 2kB of RAM all the way up to several hundred kB of ROM and a bunch of RAM.
Posted Jan 24, 2020 14:38 UTC (Fri)
by SEJeff (guest, #51588)
[Link] (1 responses)
Posted Jan 24, 2020 18:36 UTC (Fri)
by keithp (subscriber, #5140)
[Link]
Posted Feb 5, 2020 9:23 UTC (Wed)
by zoobab (guest, #9945)
[Link]
A tiny Python called Snek
A tiny Python called Snek
A tiny Python called Snek
