In one of my projects with Urho, it would be very nice to allow users to create their own plugins and have them be loaded dynamically. After some research, I’ve found plenty of nice examples for cross platform dll/.so loading (sourcey.com/building-a-simple-cp … in-system/), and I don’t think it would be too hard to get something working. I think the main thing is just that it is a bit tedious to write all the pimpl versions of the loading logic. However, my two main questions for this are:
- What happens with Emscripten? I know it “can” do dynamic loading, but it seems a bit risky (github.com/kripken/emscripten/wiki/Linking). Does anyone have experience with this?
- Is this something that would be have benefit to Urho as a whole?