27 ms·
Problems of C: - memory safety - concurrency How Zig addresses them: - it doesn't.
by ben20440 3y ago
Problems of C:
- memory safety
- concurrency
How Zig addresses them:
- it doesn't.
- stefncb 3y agoZig has async and await and is safe from buffer overflows and related memory issues. What it indeed doesn't solve is memory safety with time (so use after free and leaks), though this is somewhat ameliorated by the encouraged programming style.