Sorry, just realized the misunderstanding. To clarify Modal still uses the kernel WireGuard module. The userspace part that’s in Go and not in other languages that we use is the wgctrl library.
This is it. I like Rust a lot, but you gotta pick the right tool for the job sometimes