by yellowapple · 6y ago · 0 comments
I've also been on-and-off learning Zig, both in support of the above (Zig on the N64 seems to be uncharted territory that I'd love to help explore) and in support of development of a Tcl-like programming/scripting/config language (iterating on my learnings from an earlier project of mine² implementing such a language on top of Erlang/OTP); the latter's something that's been bouncing around in my head for a few years now, and I feel like I'm at the point where I'm ready to start bouncing those ideas into an Emacs buffer, lol (especially now that I've found what seems to be the right host language in which to implement it).
EDIT: oh, and early into quarantine I did submit my first ever patch to wine-staging³ (with quite a bit of help from a couple others, including one of the wine-staging maintainers) to fix a mouse cursor/movement bug in Mount & Blade II: Bannerlord under Wine/Proton. It's a small patch, but it's my patch nonetheless, and it's a surreal and proud feeling to see my name in the commits for software I use almost daily. It's also helped demystify Wine a bit for me, and I look forward to continuing to do my part to make it better.
----
¹: https://krikzz.com/store/home/55-everdrive-64-x7.html
³: https://github.com/wine-staging/wine-staging/blob/master/pat...
I also feel like learning Zig is helping me better understand C. I probably wouldn't have been able to contribute much to that Wine patch if Zig hadn't already gotten me more comfortable with pointers, statically-allocated variables, and such in a reasonably-safe way (having prior experience with Perl did help a little bit for pointers, since referencing and dereferencing variables is pretty common in Perl codebases, but it always felt a bit detached from what the machine was actually doing behind the scenes).
Reminds me that Zigler's yet another reason why I've been wanting to learn Zig; I usually go with ports over NIFs, but should that ever change I'd definitely rather be doing it in Zig than in C (or Rust, as similarly-neat as Rustler may be). So thanks, and keep up the good work!