The author loves programming in C and has spent a lot of time programming with it. They appreciate that C feels right and the connection it has with machine code. However, C is an unsafe language and has some limitations. The author was drawn to Rust because of its memory safety features, although they initially struggled with the borrow checker. They eventually found Rust productive to work with. The author also explored Zig, which feels like C but at a lower level than Rust. However, they found some issues with Zig, such as the use of comptime, encountering segmentation faults, and memory leaks. Additionally, there are currently no books available for learning Zig, and the ecosystem and industry investment are not as developed as they are for Rust.

6m read timeFrom medium.com
Post cover image
Table of contents
Why I am not yet ready to switch to Zig from RustRust’s memory safety and complexityZig as the modern C?Why I am not ready to switch to Zig just yetSummary

Sort: