Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It's where Zig outshines Rust the most, IMO.

TBF Rust v1.100 makes a big leap in permitting custom allocators, but mandating would be ideal in the spirit of "explicit is better implicit". I like adding lints to defend against some of these footguns, but more compiler-driven transparency around quiet allocations would be so nice.



Another thing is that passing in the IO backend to mark whether a function is pure or not is also kind of genius.

This would unlock even more function reordering in Rust, but the ship has sailed on that one.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: