News for hackers. Stuff that matters.
Re:Some Thoughts on Zig by zozbot234 on Friday July 22, 2022 @03:30AM (#32189491)
Generational references are best seen as an alternative to RC that makes different tradeoffs. They add overhead to reads/writes thru the managed reference, as opposed to the overhead for changes in ownership you see wrt. RC/ARC in something like Rust. (Note that other languages like C++ or Swift cannot cleanly separate ownership changes to the same extent as Rust, so their overhead is ultimately a lot higher. Especially Swift, with its ARC-for-everything approach.) They look like they might be good complementary approaches.
Re:Some Thoughts on Zig by Nomentatus on Friday July 22, 2022 @01:37PM (#32194756)
I'd be curious as to whether my comment here hypothesizing an AI wizard stikes you as "just nuts", or not.