The new Unreal Engine 4 is able to change the game logic at runtime. For example you can jump into the game, change some game logic and once it is recompiled it will be updated in the game itself.
I was wondering how they did it?
My first idea was that they separate their game logic to a .dll and then they are just reloading/injecting it at runtime. But I also know that .dlls are windows specific. I think the equivalent in linux is called .elf.
What alternatives are there?
I also know that there is a c++ interpreter available but I think the newer version uses a jit compiler now. Would this help me in any way?
I hope you can clear things up for me.