in reply to Building a MicroPerl distro for ESP32 and similar MCUs ?
That's on my 64bit intel; a 32bit build for xtensa would presumably be even smaller... which leaves at least 600kb space to implement the OS-replacement stuff if I wanted to ship something even smaller than micropython :-)2023/11/12 12:17.12 1,065,256 microperl
I apparently only need to implement these:
- <stddef.h>, <stdlib.h> - rename() - opendir(), readdir(), closedir() (via dirent.h) - memchr(), memcmp(), memcpy(), memset() (via string.h) - (a safe) putenv() (via stdlib.h) - strtoul() (via stdlib.h)
$ ./microperl -v This is perl, v5.7.3 built for unknown Copyright 1987-2002, Larry Wall
|
---|