3 ms·
When comparing speed I use simple tests like a loop printing an incremented line number or reading from stdin and printing to stdout. These simple tests are us
by 1vuio0pswjnm7 1y ago
When comparing speed I use simple tests like a loop printing an incremented line number or reading from stdin and printing to stdout. These simple tests are useful for me because, when combined with pattern matching or regular expressions, simple I/O tasks like these are actually what I use a "memory safe" language for
dino is slightly faster than lua (not luajit)
but spitbol is actually faster than lua, dino and luajit
ngn k is slightly faster than spitbol but lacks built-in pattern matching or RE
FWIW, I do not use a terminal emulator. I only use textmode No graphics layer. No "desktop"
- zahlman 1y ago> These simple tests are useful for me because, when combined with pattern matching or regular expressions, small, simple I/O tasks like these are actually what I use a "memory safe" language for Are you sure you aren't being bottlenecked by your terminal?
- 1vuio0pswjnm7 1y agoFor me, statically-linked 64-bit spitbol is only 175k static-pie luajit 2.1 is 667k static-pie lua 5.1.5 is 259k static-pie ngn k is 271k