News for hackers. Stuff that matters.
Re:Comfy, the 2D rust game engine, is now archived by pjmlp on Monday September 09, 2024 @01:04PM (#41490683)
This the bare minimum, https://liveplusplus.tech/

Also supports is kind of relative,

"CHR is very new and experimental feature of the engine, it is based on wildly unsafe functionality which could result in memory corruption, subtle bugs, etc."

Re:Comfy, the 2D rust game engine, is now archived by bendhoefs on Monday September 09, 2024 @03:00PM (#41492226)
Why is that the bare minimum?

I also think that doc page is a little old. The feature is over 2 years old now and hot reloading is inherently "unsafe" in any compiled language. It's just letting you know that Rust's safety guarantees might go out the window if there are bugs in the code that handles hot-reloading.

Re:Comfy, the 2D rust game engine, is now archived by pjmlp on Monday September 09, 2024 @03:04PM (#41492269)
Because that is what existing game studios expect, as shown by their customer list.

Also that was only one example, there are other similar ones.

Re:Comfy, the 2D rust game engine, is now archived by desumeku on Wednesday September 11, 2024 @02:58PM (#41514274)
Funnily enough, Mojang is on that list, and I remember recently watching a video[1] of Notch hot-reloading code while developing Minecraft, except it was with Java and I'm sure he didn't pay a dime for the ability to do that.

[1] - https://youtu.be/BES9EKK4Aw4

Re:Comfy, the 2D rust game engine, is now archived by pornel on Monday September 09, 2024 @04:33PM (#41493392)
That live reload probably already works with Rust — they say they don't parse any source code, and instead analyze the compiled binary and debug info.