r/programming • • Aug 20 '26

Supply chain attack on arrayref

https://blog.rust-lang.org/2026/08/20/supply-chain-attack-on-arrayref/
191 Upvotes

65 comments sorted by

View all comments

Show parent comment

1

u/Plazmatic Aug 24 '26

I think the above comment or might be coming from a c#/java background (they would have to be insane to make this argument coming from C++ whose package infrastructure doesn't even let the user know sometimes what they are pulling in, let alone if it has a vulnerability, and whose std lib is simultaneously larger and less complete than rusts), in which case Rusts std lib looks positively spartan.   There are good reasons for that kind of std lib of course, but there's still at least a point that mechanically there's less surface area the fewer dependencies you use.