3 ms·
I'm excited by this, but I'd really love a userspace C or C++ implementation. I know that context switching syscalls take time, but I've enjoyed the trend of
by loxias 7y ago
I'm excited by this, but I'd really love a userspace C or C++ implementation. I know that context switching syscalls take time, but I've enjoyed the trend of the last 10 years towards more userspace services, not less. (I'm particularly thinking of filesystems in userspace and block devices in userspace)
Still, cool. cool, cool cool. I wonder how long until it's in debian.
- sascha_sl 7y agowireguard-go https://git.zx2c4.com/wireguard-go/about/ https://git.zx2c4.com/wireguard-go/about/
- bauerd 7y agoThere is also https://github.com/cloudflare/boringtun https://github.com/cloudflare/boringtun Edit: Someone running wg in userspace and can share some experiences with either implementation?
- loeg 7y agoThe userspace wireguard-go implementation is slower than the kernel one. Some (I don't know how much) of that is the userspace <-> kernel barrier, but they're also totally different implementations (Go vs C).
- jeltz 7y agoI use BoringTun, it is written in Rust and runs entirely in user space.
- loxias 7y agoCool, thanks, I'll have to check that out!! I've sorta been itching for an excuse to learn rust. Go left me underwhelmed, but that's probably due to me having misplaced expectations. (it's not a better C or C++, it's a better Perl/Python/Shell)
- jlgaddis 7y ago> I wonder how long until it's in debian. I know you mean in stable, but it's been in unstable for 3+ years now!