News for hackers. Stuff that matters.
Re:Zig self hosted compiler is now capable of building itself by kaba0 on Sunday April 17, 2022 @01:55PM (#31062747)
I don’t really get your example, or how does it have to do anything with rust? It’s just a bad linked list, isn’t it?
Re:Zig self hosted compiler is now capable of building itself by tialaramex on Sunday April 17, 2022 @02:22PM (#31062964)
Are you talking about the example by RustyConsul? Because I'm not RustyConsul so I can't tell you what specifically RustyConsul intended with this example. Yes this is a bad data structure in Rust, or C, or presumably Zig. In the context of this thread I'm sure Zig's proponents will say that you'd never make this mistake in Zig.