Hot Swapping Cpp Code (demo)
date: 2018-03-15
author: Peterino
A quick demo of an idea I had to have a kind of plugin system that allows live hotswapping of C++ modules. Turns out it's pretty easy to do so long as you have simple C style interfaces between the executable and the library objects you link against. That is so long as the executable doesn't ever directly reference objects whose implementations can change as development goes on.