Questions: 1. Can WASM plugins with Extism easily call back into host provided APIs? 2. Complex types are supported?
Questions: 1. Can WASM plugins with Extism easily call back into host provided APIs? 2. Complex types are supported?
To answer your questions: 1. Extism provides a specific set of host provided APIs, and currently we don't have support for user-supplied host functions beyond the ones we make available. This will change though, and we're looking for feedback. We held off because there wasn't a clear way to make it easy across ALL the languages we support.
2. Complex types are definitely supported, you need to encode the data into raw bytes and can use whichever format you want (only limited by which formats are available in host & plug-in languages..)
Eventually we will move towards the Component Model which will make the complex types story much simpler.