@lucy @teratology @antranigv @dragnucs @newt this thread has me wanting to try zig again even though it’s married to LLVM and thus both not super portable and a distro packager’s nightmare
it does get a lot of things right that C just doesn’t. for example, it provides different memory allocators instead of just whatever malloc happens to be, and it doesn’t just blindly copy libc semantics for everything. it gets rid of the fucking preprocessor and build system nonsense for selective compilation. it tries to help you avoid shooting yourself in the foot instead of having a standard library full of footguns purely for hysterical raisins.
but it also has less cognitive overhead and faster compile times than rust, and first-class support for C libraries/exports which makes it one of the more practical alternatives to C.
Embed Notice
HTML Code
Corresponding Notice
- Embed this notice
miauz genyau (mia@movsw.0x0.st)'s status on Friday, 06-Sep-2024 21:55:13 JSTmiauz genyau