News for hackers. Stuff that matters.
Re:Bugs that the Rust compiler catches for you by eternityforest on Friday May 06, 2022 @02:19AM (#31281888)
I don't see any reason a language needs to be simple, as long as the abstractions are close enough to zero cost. Since Rust can run on even 8 bit microcontrollers, it should be able to replace C in a lot of places.

There might be some set of tools out there that will make C++ as safe as Rust(It seems like some are talking about borrow checkers but finding it near impossible?), but Rust is designed for safety from the ground up.

Plus, even if your linter catches 100% of bugs, your libraries probably won't use those standards, and may be full of bugs.

Not that you'd ever do a JS-level amount of reuse in C, since the lack of standardized package management sometimes makes it not even worth it to use a library, almost like they actively want to discourage reuse.

Rust has a problem with some things being community that should be stdlib, but standard practice in C++ seems to be to reinvent way more wheels than other languages.

Re:Bugs that the Rust compiler catches for you by pjmlp on Friday May 06, 2022 @07:05AM (#31283736)