News for hackers. Stuff that matters.
Re:Static Analyzer Rudra Found over 200 Memory Safety Issues... by pdimitar on Monday November 15, 2021 @01:18PM (#29230595)
I agree Rust's standard library can definitely be a bit more brave and include more things but calling it tiny is a bit of a stretch, no?
Re:Static Analyzer Rudra Found over 200 Memory Safety Issues... by pjmlp on Monday November 15, 2021 @02:00PM (#29231152)
Nope, given that even for basic stuff like better error handling, or async runtime, one needs external crates.
Re:Static Analyzer Rudra Found over 200 Memory Safety Issues... by pdimitar on Tuesday November 16, 2021 @04:51AM (#29238741)
Yeah, seems like some things were a bit rushed (async) because there was a worry about marketing and adoption -- worries that I think most of us will agree should have been lower priority.

But we also know that things to do stdlib to die, right? Python is a famous example; almost every Python dev I know never uses the builtin HTTP client APIs.

So eh, I am okay with having de facto standards in the form of widely accepted libraries.

On a separate note, I had really high hopes for Rust 2021 edition. They had a chance to introduce new syntaxes and address error handling at least but they opted not to do so. Disappointing.

Re:Static Analyzer Rudra Found over 200 Memory Safety Issues... by pjmlp on Tuesday November 16, 2021 @05:57AM (#29239124)
Stdlib works on every platform the language targets, third parties is anyone's guess.

When I have Python installed, I can be 100% sure of what works, regardless how uncool the library might happen to be, so those builtin http client libraries will be used.