On 8/3/25 22:25, Alexandru N. Barloiu wrote:
I'm not really a big fan of rust (my favourite now is C++, preferrably C++23 or later) either. I might be wrong, but the rationale behind choosing rust is that a certain audience could be difficult to convince of a new fork in C. Especially given that vtun have got some criticism for security practices before (and to a large degree unfortunately not solved).On Sun, 2025-08-03 at 23:21 +0300, Alexandru N. Barloiu wrote:to be clear. this is for embedded stuff. C works. doesn't need rust. if it works dont mess with it.
Is binary+library-size an issue for you? If I look at the numbers now, jut keeping in mind that there are differences in library dependencies:
-rwxr-xr-x 1 root root 80K AugĀ 3 22:53 /usr/bin/vtund -rwxr-xr-x 1 root root 905K AugĀ 2 11:41 /usr/bin/vtunngdVtund pulls libz.so and liblzo.so as shared libraries, and that probably accounts for about 200K. But vtun can be build without zlib and lzo, so maybe I should look into making those optional in vtun-ng as well.
Jan-Espen Oversand
OpenPGP_0x2D770B902F0C4749.asc
Description: OpenPGP public key
OpenPGP_signature.asc
Description: OpenPGP digital signature
