←back to thread

348 points giuliomagnifico | 1 comments | | HN request time: 0.001s | source
Show context
jjgreen ◴[] No.46243706[source]
Complete rewrites are always a bad idea ... [mutters of agreement] ... except in Rust! [cheering]
replies(7): >>46243792 #>>46243912 #>>46243944 #>>46243994 #>>46244254 #>>46244291 #>>46244748 #
norman784 ◴[] No.46243994[source]
Well, an underrated aspect of the Rust rewrites, is that it's easy to publish and share official libraries from the projects that the community can use, something that is too hard in C land.
replies(1): >>46244699 #
anonnon ◴[] No.46244699[source]
If anything, from a security standpoint, this is one of the bigger issues with a rewrite in Rust. Besides the "MIT EVERYTHING" mindset, Rust people are also similar to JS devs in having projects with huge supply chain attack surfaces, from their eagerness to rely on so many crates.
replies(2): >>46244798 #>>46244873 #
1. tempest_ ◴[] No.46244873{3}[source]
On the flip side C/C++ devs like to let ancient libs hang around because updating them can be such a pain in the ass.

You can choose to write Rust with fewer external crates or vendor them like you would with c++ that is a dev choice.

Having more choices is better.