by jimbob45 · 7y ago · 0 comments
The goal is to analyze your needs and pick the language best suited to your task. The goal is not to find one language that excels at everything.
I'm convinced the term "systems language" doesn't have a coherent meaning at this point. See:
https://zenhack.net/2018/07/14/three-funerals-in-the-name-of...
That doesn’t make it a bad language, but it’s not universally applicable either.
Regarding using Go as a real systems language (in the same meaning as C):
- gVisor hypervisor on Google Cloud and Linux sandbox on Chromebooks
- Android GPGPU debugger
- Fuchsia TCP/IP stack and volume management
- Baremetal TinyGo on Arduino Nano33 IoT, Adafruit Circuit Playground Express, BBC micro:bit among many others
- Coreboot firmware
That said, it's better to use terms that map better to a set of requirements, such as "hard-realtime" or "soft-realtime".
That said, I think you'll find this SIMD-enhanced wc interesting: https://github.com/expr-fi/fastlwc/
It's really not solving the same problem.
As for having a low-memory footprint, 2 of the 4 implementations I mentioned (one single core, one multi-core) consume less memory than wc, and still run much faster.