|
|
|
|
|
by yellowapple
2225 days ago
|
|
Yep, exactly. I was originally pretty excited about Rust, but I feel like it biases toward large highly-structured projects like C++ does, making it a bit daunting for personal projects. Just a bit too professional for something I'm hacking together over a weekend, lol. Zig feels like it's easier to wrap my head around, and seems optimized for the "pet project" use case. 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). |
|