Hot-Reload
In this chapter you will learn about Jenova Framework Hot-Reloading System.
What is Hot-Reloading?
C++ is a pre-compiled language, It means it runs from pre-built bytecodes, When you build your C++ code it will be compiled to machine code and linker pack it inside a module. When module is loaded it can't be changed unless the process it's loaded in be closed. It means when you apply some changes to your C++ code you need to perform a rebuilt while it's not running and restart your application.
On the other hand, Scripting Languages allow you to apply changes and see changes much quicker without you be required to restart your game engine. This is a bottleneck when you're using C/C++ in your game development.
In Jenova Framework, It's possible to Hot-Reload your C++ code just like any scripting language using a powerful Hot-Reload system called Sakura.
Jenova Hot-Reloading feature is supported on all Godot forks, However, If you have multiple scenes open and want to Hot-Reload you will need a compatible distro. At the moment Jenova Hot-Reloading system with multiple scenes is only supported on following Godot distros :
Sakura System
Sakura Hot-Reloading system allows you to edit your C++ scripts and see changes on-the-fly, This powerful and unique system brings the joy of real scripting to your pipeline.
Sakura provides different ways of Hot-Reloading which we go through one by one, Grab a coffee and lock in!