Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
itake
· 3y ago · 0 comments
how is that different from rust? or is rust a cpp successor?
Comments
[–]
seattle444
3y ago
Rust lives in the smart pointer world. So a good candidate as a c++ succesor. Zig lives in arena alloc and soa world. So it's a better than rust when you need performance beyond the norm.
[–]
steveklabnik
3y ago
Just to be clear, you can absolutely do arena allocation and soa in Rust.
[–]
bvrmn
3y ago
In Rust you have convenient escape hatch with a default allocator. It's similar to say "you can do safe applications using C or C++".
[–]
r87
3y ago
Rust is more of a c++ successor, yes.
It’s very much a kitchen sink language.