6 ms·
In Go you know exactly what code you’re building thanks to gosum, and it’s much easier to audit changed code after upgrading - just create vendor dirs before an
by devttyeu 10mo ago
In Go you know exactly what code you’re building thanks to gosum, and it’s much easier to audit changed code after upgrading - just create vendor dirs before and after updating packages and diff them; send to AI for basic screening if the diff is >100k loc and/or review manually. My projects are massive codebases with 1000s of deps and >200MB stripped binaries of literally just code, and this is perfectly feasible. (And yes I do catch stuff occasionally, tho nothing actively adversarial so far)
I don’t believe I can do the same with Rust.
- WD-42 10mo agocargo vendor
- cyphar 10mo agoYou absolutely can, both systems are practically identical in this respect. > In Go you know exactly what code you’re building thanks to gosum Cargo.lock > just create vendor dirs before and after updating packages and diff them [...] I don’t believe I can do the same with Rust. cargo vendor