Re:Comfy, the 2D rust game engine, is now archived
by stroupwaffle on Monday September 09, 2024 @07:14AM
(#41487367)
Yeah it’s insanity. I think what we need is C simplicity with some of the Rust safety guarantees.
[ Parent
| on HN ]
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.
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.
Re:Comfy, the 2D rust game engine, is now archived
by pjmlp on Monday September 09, 2024 @07:22AM
(#41487422)
Some would say that would be Zig, although it is more like Modula-2 safety guarantees.
Re:Comfy, the 2D rust game engine, is now archived
by shortrounddev2 on Monday September 09, 2024 @07:28AM
(#41487477)
I think most gamedevs will reamain in higher level languages. Gone are the days when game developers were wizards of esoteric programming knowledge and elite skill; most game developers I've met are creative types who came to programming as a tool for expressing themselves, and not programmers who use their obscure knowledge to make creative things. Artists, not engineers.
For people who want to use programming as a tool for expressing themselves, C#, python, and, above all, visual programming are going to remain the most popular choices. They don't care about memory management or type theory, they just want to easily describe the behavior of things in a language which more closely mimics human thought
Re:Comfy, the 2D rust game engine, is now archived
by neonsunset on Monday September 09, 2024 @07:47AM
(#41487601)
So...C#? Structs + managed references and spans instead of raw pointers for memory ranges.