Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
ben20440
on July 3, 2023
|
parent
|
context
|
favorite
| on:
Problems of C, and how Zig addresses them
Problems of C:
- memory safety
- concurrency
How Zig addresses them:
- it doesn't.
stefncb
on July 4, 2023
[–]
Zig 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.
Join us for
AI Startup School
this June 16-17 in San Francisco!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
- memory safety
- concurrency
How Zig addresses them:
- it doesn't.