trashburger
38 minutes ago
I think Zig not having a way to "modify the environment map" is a good thing, personally. Global state should be avoided at all costs. If a downstream library's setting isn't exposed through a config struct, and can only be configured through environment variables, it was misdesigned.
fallingsquirrel
30 minutes ago
That may be true from a purist perspective, but it goes against Zig's design principle of interoperability.
> Although Zig is independent of C, and, unlike most other languages, does not depend on libc, Zig acknowledges the importance of interacting with existing C code.