News for hackers. Stuff that matters.
Re:Zig Devlog: Self-Hosted x86 Back End Is Now Default in De... by nindalf on Monday June 09, 2025 @02:57AM (#44222025)
Yep, they’re the same since Rust 1.36 (Jul 2019) - https://blog.rust-lang.org/2019/07/04/Rust-1.36.0/
Re:Zig Devlog: Self-Hosted x86 Back End Is Now Default in De... by LAC-Tech on Monday June 09, 2025 @03:11AM (#44222101)
https://doc.rust-lang.org/std/?search=hashbrown

looks like there's no way to access it, outside of hashmap.

Though maybe you just need the third party hasher and you can call with_hasher.

IDK man there's a lot going on with rust.

Re:Zig Devlog: Self-Hosted x86 Back End Is Now Default in De... by nindalf on Monday June 09, 2025 @08:03AM (#44223598)
Yes that’s exactly it. If speed is a priority and the input is trusted, change the hasher to something faster like ahash. The ahash crate makes this easy.