▲ | o11c 3 days ago | ||||||||||||||||||||||
I actually tried rewriting this in Python, but gave up since Python's startup latency is atrocious if you have even a few imports (and using a socket to a pre-existing server is fundamentally unable to preserve enough process context related to the terminal). Perl would probably be a better fit but it's $CURRENTYEAR and I've managed to avoid learning Perl every year so far, and I don't want to break my streak just for this. The Bash code is not only fast but pretty easy to understand (other than perhaps the header, which I never have to change). | |||||||||||||||||||||||
▲ | dataflow 3 days ago | parent | next [-] | ||||||||||||||||||||||
PHP maybe? Or in limited cases, AWK? But I'd definitely learn Perl, it's a gem. | |||||||||||||||||||||||
| |||||||||||||||||||||||
▲ | Fire-Dragon-DoL 3 days ago | parent | prev [-] | ||||||||||||||||||||||
Maybe try ruby, or you could use go (yeah, have to compile) |