Re:Comfy, the 2D rust game engine, is now archived
by psychoslave on Monday September 09, 2024 @07:22AM
(#41487417)
Isn't zig more or less the closest thing we have for this currently? I really ask naively, without proper insights to give a relevant answer myself.
[ Parent
| on HN ]
Re:Comfy, the 2D rust game engine, is now archived
by Hemospectrum on Monday September 09, 2024 @07:30AM
(#41487489)
Zig is safer than C, which is not a high bar to clear. It has safer defaults than C, and makes it a little easier to use test-driven debugging to find memory safety violations, but it has no answer to Rust’s Send and Sync traits or the mutable XOR aliasable reference model. In that sense it’s similar to dozens of other languages older than Rust.
Re:Comfy, the 2D rust game engine, is now archived
by GardenLetter27 on Monday September 09, 2024 @07:46AM
(#41487596)
But Zig doesn't have a nice package manager like Cargo?
Re:Comfy, the 2D rust game engine, is now archived
by bobajeff on Monday September 09, 2024 @10:00AM
(#41488664)
I don't see zig being that simple. I think it looks more like rust without the borrow checker. Odin to me looks like a more simple language. Go too would fit that if you want some safety.
Re:Comfy, the 2D rust game engine, is now archived
by psychoslave on Monday September 09, 2024 @05:18PM
(#41494027)
Nice, I wasn’t aware of Odin, thanks.