On Friday, 2 June 2017 at 04:50:00 UTC, Mike B Johnson wrote:
4. Passing of the hosting D app's context. this could be pretty hard to get right?

You'd ideally access the data through functions and shared value types instead of loading it directly. Then you can easily do it with shared libs or scripts or, best of all, an external process so if the "plugin" crashes, it doesn't crash the rest of the program.

This is a decent design for any program really, it decouples components and keeps private members private.

Reply via email to