News for hackers. Stuff that matters.
Re:Building a Cloud Database from Scratch: Why We Moved from... by victorvosk on Friday February 10, 2023 @09:59AM (#34740464)
Hot take, I feel like people that complain Rust is hard typically write bade code in other languages. Rust is just preventing you from making common mistakes or using patterns that make your code hard to reason about and debug later.
Re:Building a Cloud Database from Scratch: Why We Moved from... by MuffinFlavored on Friday February 10, 2023 @10:12AM (#34740643)
As somebody who could possibly be in the category you described, once I learned about Arc+Mutex, I pretty much write code the same way I used to. That and maybe OnceCell/Lazy?
Re:Building a Cloud Database from Scratch: Why We Moved from... by qalmakka on Friday February 10, 2023 @10:03AM (#34740517)
This, this, and this again. Lots of patterns Rust enforces are sensible choices even with a garbage collector, because data races for instance are still a thing even if you have automatic memory management
Re:Building a Cloud Database from Scratch: Why We Moved from... by verdagon on Friday February 10, 2023 @11:39AM (#34742024)
As a fellow Rust user, please stop saying this. Not everyone who codes like us is a bad programmer. It's this kind of sentiment that gives us a bad name.

Rust may influence us into patterns that are better in some (maybe even most) situations, but not always. Sometimes the situation calls for other approaches, and that's okay.

Re:Building a Cloud Database from Scratch: Why We Moved from... by kupopuffs on Friday February 10, 2023 @09:16PM (#34748892)
Think you're misunderstanding the OP. Do you think rust is hard to use?
Re:Building a Cloud Database from Scratch: Why We Moved from... by sidlls on Friday February 10, 2023 @10:46PM (#34749390)
The OP is crapping on people who find Rust hard to learn by broad-brushing them into the "bad programmer" bucket. It's a hallmark of Rust zealots, and one reason why the Rust community has such a bad name. Which is a shame because the language is decent and useful.
Re:Building a Cloud Database from Scratch: Why We Moved from... by kupopuffs on Sunday February 12, 2023 @10:49PM (#34769907)
Fair enough, it's an elitist attitude!
Re:Building a Cloud Database from Scratch: Why We Moved from... by sidlls on Friday February 10, 2023 @02:40PM (#34744657)
Hot take: your attitude is why people push back on the Rust community when they're in HN so much.