spatialos-sdk-rs
spatialos-sdk-rs copied to clipboard
Code generator plugins/extensions
As part of https://github.com/jamiebrynes7/spatialos-sdk-rs/issues/107, the idea of code generator plugins was brought up. This issue should track this particular use case and possible solutions.
- Plugins using WASM, or some dynamically loaded library
- Shipping codegen as a library and have users write a
build.rsto configure the plugins.
The idea of using WASM as a way of providing compile-time extensions has been coming up elsewhere in the Rust community, too. We should check out watt and see if we ~steal ideas from it~ use it as inspiration :grin:
We should check out watt and see if we steal ideas from it use it as inspiration 😁
That project is exactly what prompted the thought to use WASM for plugins 😉