π¬ peertube.be peertube.be
wc - word count in ARM assembly
Walkthrough of an assembly version of wc (see Linux manual page for the GNU version: https://man7.org/linux/man-pages/man1/wc.1.html). Interacting with the OS requires to use 3 system calls: read(), write() and exit(). Formatting the results as 10-based numbers was maybe the trickiest part of this project. Running on 32-bit Linux in Raspberry Pi 400. This version is limited, supports only stdin. But it's faster! The default wc which is installed to my Pi needs 12 times more time to process 49MiB input.
βhttps://p.eertu.be/w/mFMHo2eyPqRqAMCEwPuAub
Indexiert von findnix.eu Β· Eigene Seite einreichen