Zig and Rust
matklad.github.io
Zig and Rust
1–10 of 247 posts
Re: Zig and Rust
#2Re: Zig and Rust
#3Probably just a small miss, but in the first section the author refers to stack space limitations possibly hit when calling malloc. That should probably refer to heap space. Or if it is stack space they meant then maybe not malloc but rather stack allocations / function calls.
I do agree with some of zigs Cons that you bring up as well. Currently I have really been into Linear types and feel like that would be the perfect "simple" type-based memory safety zig could incorporate without making it too c++ complicated. But at the same time I don't know if it would work with its comptime and maybe it too would compromise on the simpleness of the language. I don't know.
Re: Zig and Rust
#4Probably just a small miss, but in the first section the author refers to stack space limitations possibly hit when calling malloc. That should probably refer to heap space. Or if it is stack space they meant then maybe not malloc but rather stack allocations / function calls.
Re: Zig and Rust
#5Re: Zig and Rust
#6Re: Zig and Rust
#7This sort of convinced me to stay away from Zig
Re: Zig and Rust
#8What does he mean by this?
Re: Zig and Rust
#9The rust-analyzer guy now writes Zig full time?
Seemed pretty clear to me. :)
Re: Zig and Rust
#10> Collections are not parametrized by an allocator, like in C++ or (future) Rust. What does he mean by this?