News for hackers. Stuff that matters.
Re:Rewriting Sysctl(8) in Rust: Systeroid by jandrese on Tuesday April 19, 2022 @11:28AM (#31084452)
It matters to people who are installing this software on non-internet connected machines. Granted, that's a niche these days, but there is a reason Node never took off in that space.
Re:Rewriting Sysctl(8) in Rust: Systeroid by kibwen on Tuesday April 19, 2022 @11:44AM (#31084691)
Unlike Node, here you can just copy the binary over. Rust binaries are statically-linked by default (though C dependencies can complicate that).
Re:Rewriting Sysctl(8) in Rust: Systeroid by monocasa on Tuesday April 19, 2022 @12:43PM (#31085543)
Rust binaries aren't statically linked by default, but all of the rust code in the binary is.
Re:Rewriting Sysctl(8) in Rust: Systeroid by dijit on Tuesday April 19, 2022 @02:26PM (#31086909)
Rust isn’t statically compiled, you can make it so, but it isn’t by default, it depends on the libc you link against, on Linux it is glibc.

Regardless: you’re right in some regards. Cargo vendor exits, so you can ship your code dependencies alongside your own code.