3 ms·
Join the mailing list! https://lists.zx2c4.com/mailman/listinfo/wireguard https://lists.zx2c4.com/mailman/listinfo/wireguard And if you're savvy and want to g
by zx2c4 10y ago
Join the mailing list!
https://lists.zx2c4.com/mailman/listinfo/wireguard https://lists.zx2c4.com/mailman/listinfo/wireguard
And if you're savvy and want to get involved with development, we need all the help we can find!
- tinco 10y agoWhy necessarily lower speed? Are you hinting at bounds checking? I would think that a rust implementation might have slightly more pressure on the CPU but would not effectively be slower. Am I wrong?
- steveklabnik 10y agoI took it as "the Rust version is in userspace, and therefore will be slower than the in-kernel version."
- tinco 10y agoRight, I heard about the Rust kernel module[1], but perhaps its environment isn't friendly enough yet to attempt to port a project like this to? edit: Just read a little bit of its source, apparently you have to disable std, and he replaces it with his own linux_std that at this point has only printf implemented. So yeah it'd be a pretty intense project if one would attempt it :) 1] https://github.com/tsgates/rust.ko https://github.com/tsgates/rust.ko
- steveklabnik 10y agoElsewhere in the thread, they talk about upstreaming some code into the kernel itself; so it has to be in C for that. That's my guess, anyway. (disabling std is standard in environments like this; and you still get libcore, which is a lot of stuff!)
- tinco 10y agoWhat are the odds of getting Linus to approve of Rust? It would be the greatest thing ever. Imagine the impact on the C++ community.. You might say I'm a dreamer, but I'm not the only one ;)
- steveklabnik 10y agoI would imagine very low.