r/C_Programming • • Jul 05 '26

Library-fying AWK with WASM

https://napcakes.nekoweb.org/posts/libawk-wasm/
9 Upvotes

6 comments sorted by

View all comments

Show parent comment

2

u/stianhoiland Jul 08 '26 edited Jul 12 '26

To me, awk is one of the finer things in life. To have your eyes and competence pointed in that direction is exciting for me! I have so much respect for the early UNIX guys, and you, and I find it totally fascinating (though not unexpected) to read your evaluation of nawk, which is the original trio's "if we could do it over"-version of awk (and I heard the UTF-8 support severely degraded performance). I would devour a blogpost and deeper analysis, and potentially an architectural overhaul. Love it or hate it, I never stray from busybox's "POSIX+" utilities, but I would install a skeeto awk in a heartbeat!

2

u/skeeto Jul 08 '26

In the past I'd considered gradually rewriting everything in BusyBox, at least the tools I care about, replacing busybox-w32 in w64devkit piece by piece. As in each tool would get a rexxd/u-config -shaped replacement, eventually including awk.

However, as you know, the software industry entered a new industrial revolution as of 8 or so months ago, completely changing everything we know about building software. This shifted the value centers, and so shuffled my priorities. Until AI learns how to code in the minimalist style I like — and the state-of-the-art frontier is not there yet — that's off the table. There's now a lot more I can accomplish doing slightly different things with that time.

2

u/stianhoiland Jul 09 '26

Sad times indeed. skeetobox would have rocked!