Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
Prydown
· 2mo ago · 0 comments
Constant headache in C++ with `std::vector` element references. Zig's explicit stability here is a welcome relief for data structures.
Comments
[–]
afdbcreid
2mo ago
It seems you misunderstood. It's not an explicit stability guarantee (such things is not possible), it's a debugging helper to crash the program more easily when it happens, requiring you to annotate the code.