logoalt Hacker News

blakeashleyjr • today at 3:57 PM • 1 reply • view on HN

What's your plugin model for Rust? Are they compiletime or interpreted?


Replies

Andydy25 • today at 4:18 PM

The plugins are natively compiled Rust crates, not interpreted or dynamically loaded.

We considered WASM and libloading, but plugins often require database connections or other privileges. With WASM, supporting that would be the SDK’s responsibility.

Dynamic loading with libloading didn’t offer enough benefit for this design, so we chose modular crates compiled into the application.

➕ show 1 reply