Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
rastignack
9 months ago
|
parent
|
context
|
favorite
| on:
Things Zig comptime won't do
Lifetimes and generic tend to leak so you have to modify your code all around the place when you touch them though.
xedrac
9 months ago
[–]
Explicit lifetimes are not super common, and I haven't had any trouble with them causing refactor headaches. Generics obviously do leak, the same way that C++ templates do.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: