News for hackers. Stuff that matters.
Re:C and C++ Hot-Reload/Live Coding by v1ne on Thursday January 04, 2024 @06:00AM (#38865565)
First, I'm really happy about all those solutions for the gaming industry! They solve real-world problems and work with software at scale, with great pragmatism.

But I would have liked to see a comparison of this solution to others on the market, like the readily-available "Hot Reload" in Microsoft Visual Studio.

For a multi-MLOC codebase, VS "Hot Reload" required some patience, and it mostly worked only for simple cases like changing "if" statements or constants. But that's actually all I needed at that time, and considering that I was using VS anyway, I was happy with not having to pay extra.

So, did somebody try out the Live++ hot-reloading technology and could share their experiences?

Re:C and C++ Hot-Reload/Live Coding by Warwolt on Thursday January 11, 2024 @03:23AM (#38949324)
We're using Live++ at Mojang. For very large complicated software, we never had any success with VS Hot Reload. Live++ works like a dream and has had noticeable productivity improvements for the devs that've tried it.
Re:C and C++ Hot-Reload/Live Coding by tivolo on Thursday January 11, 2024 @06:15AM (#38950711)
There is a comparison between Live++ and Visual Studio's Edit-and-Continue here: https://liveplusplus.tech/faq.html

In our (and many of our customers') experience, E&C doesn't work for anything larger than simple toy projects. It just isn't reliably.

On top of that, I think its biggest shortcoming is that E&C doesn't work with optimizations at all (this is documented), and is tied to the Visual Studio IDE, which not everybody uses.