4 ms·
> You need a language that is small yet still complete. Even today, the only languages that really fit that bill are Scheme/Lisp, Tcl, and Forth. Lua? It's us
by throw0101b 2y ago
> You need a language that is small yet still complete. Even today, the only languages that really fit that bill are Scheme/Lisp, Tcl, and Forth.
Lua?
It's used in (and used for?) a lot of embedding:
* https://en.wikipedia.org/wiki/Lua_(programming_language) https://en.wikipedia.org/wiki/Lua_(programming_language)
- bsder 2y agoTcl was 1988. Lua was 1993. Lua is quite a bit larger than Tcl. In addition, no two Lua installations can ever agree on which modules they require (which makes the actual Lua binary even bigger).
- fullstop 2y agoLarger? On my system libtcl8.6.so is 1.7 megabytes and liblua5.1.so is 192 kilobytes. It's not even close. Lua uses libraries / modules based on where you tell the interpreter they are located, so that's on you. Set package.path and package.cpath correctly.
- bsder 2y agoYou are comparing 2024 versions. Go find the original tarball versions from 1990 (maybe you have to go to Usenet sources!). Tcl was small.