Instead of a native plugin system, implement a plugin server which works in any language, and broadcast events.