News for hackers. Stuff that matters.
Re:Rust Is Hard, Or: The Misery of Mainstream Programming by tick_tock_tick on Thursday June 02, 2022 @10:32PM (#31603555)
I'm pretty sure "fearless concurrency" is just a meme at this point since Rust does very little to make concurrency "fearless".
Re:Rust Is Hard, Or: The Misery of Mainstream Programming by renox on Friday June 03, 2022 @04:00AM (#31605499)
There are two kinds of threading bugs: deadlocks which are easy to detect and race conditions which are far more difficult to detect and to fix. AFAIK Rust helps with the latter not with the former which is a very big improvement (much more than if it was the other way round)
Re:Rust Is Hard, Or: The Misery of Mainstream Programming by kaba0 on Friday June 03, 2022 @07:05AM (#31606748)
Just to add, AFAIK Rust only prevents data races, not race conditions in general. Which is still a huge help, but concurrency is still hard without a much more restricted model.
Re:Rust Is Hard, Or: The Misery of Mainstream Programming by jjnoakes on Friday June 03, 2022 @01:12AM (#31604533)
Very little except statically removing an entire class of bugs that plague other languages in the same design space you mean.