Better HN
topnewbestaskshowjobs
Log inSign up

sprixia

1 karma · joined Oct 21, 2026 (1mo ago) · 3 submissions

Submissions

comment 1mo ago · link · parent

The point about plugin boundaries and safety is spot on. In Rust, choosing between compile-time static dispatch (like trait objects / generics) vs. runtime dynamic loading is always the hardest architectural trade-off for a gateway.

Compile-time is blazing fast and gives you strong safety guarantees, but forces users to recompile the binary for custom plugins. Runtime/WASM gives you isolation and hot-reloading, but introduces serialization overhead on the hot path. Curious how Respan handles that split for third-party extensions.