Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
dralley
on Jan 16, 2021
|
parent
|
context
|
favorite
| on:
Why Zig when there is already C++, D, and Rust?
It has "defer" and "errdefer" constructs for cleaning up resources, comparable to Go, but obviously applying to more things since there's no GC.
https://ziglang.org/documentation/master/#defer
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
https://ziglang.org/documentation/master/#defer