News for hackers. Stuff that matters.
Re:Ambient: The Multiplayer Game Engine by vvanders on Thursday February 23, 2023 @01:14AM (#34907372)
Last game engine(C++) I worked on was a full hour to build if you touched a core header, and that was with Incredibuild that farmed out the compile across the studio.

If you care about compile/iteration times you can get them down to a reasonable level, Bevy does a good job splitting the heavy lift part into a section that is linked dynamically[1] which leads to pretty reasonable compile times even in something Rust based.

That said most of the high-churn areas I've seen drop to some scripting language(ex: Lua or others) for both hot-reload and avoiding compile times. Usually the heavy compute pieces are out in native with orchestration in scripting or something more flexible.

[1] https://bevyengine.org/learn/book/getting-started/setup/#ena...

Re:Ambient: The Multiplayer Game Engine by pjmlp on Thursday February 23, 2023 @01:27AM (#34907450)
That is why we now have incremental linking, hot-code reloading and for the lucky ones on VC++, modules.

This toy application https://github.com/pjmlp/gwc-rs takes about 15 minutes to compile from scratch on a humble Asus 1215B, whereas the C++ original (thanks to having Gtkmm available as binary), takes about 2 minutes.