If we are talking about source code distribution, then Python-with-stdlib-only would be have smaller overall dependencies (measured in bytes or executables), easier to build (no build step) and faster to build (0 seconds). The runtime speed will be much lower but you don't need high performance for terminal graphics.
But if you want a really lightweight language, you'll want something like Lua. It's like 0.2MB in a single binary which has a (very small) stdlib already built in it.
There is a reasons old-style routers/embedded devices with megabytes of flash came with lua (and rarely python/perl), and almost never with gcc or other languages.
But if you want a really lightweight language, you'll want something like Lua. It's like 0.2MB in a single binary which has a (very small) stdlib already built in it.
There is a reasons old-style routers/embedded devices with megabytes of flash came with lua (and rarely python/perl), and almost never with gcc or other languages.