News for hackers. Stuff that matters.
Re:Zap – Blazingly fast backends in Zig by seattle444 on Wednesday June 14, 2023 @06:17PM (#36333558)
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.
Re:Zap – Blazingly fast backends in Zig by steveklabnik on Wednesday June 14, 2023 @08:25PM (#36334831)
Just to be clear, you can absolutely do arena allocation and soa in Rust.
Re:Zap – Blazingly fast backends in Zig by bvrmn on Thursday June 15, 2023 @03:59AM (#36337623)
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++".