6 ms·
Would using Rust have prevented this?
by microgpt 3mo ago
Would using Rust have prevented this?
- Cthulhu_ 3mo agoThe Hyper library in question is a Rust library. Did you read the article, or are you a "use rust" parrot / bot based on titles?
- re-thc 3mo agoIsn't this already Rust?
- pjmlp 3mo agoThat was obviously a joke question, pointing that Rust isn't the solution for everything.
- lelanthran 3mo agoWoosh :-)
- geodel 3mo agoAgree. This is warning to people who thought Rust is optional at cloud scale.
- Ygg2 3mo agoNo. Anyone expecting that hasn't read No Silver Bullet essay.
- tialaramex 3mo agoActually I suspect that Rust is a Silver Bullet in that sense. That essay seems to be a case where people know of the essay but haven't read it. Normally in English a "Silver Bullet" is something much bigger, a panacea or cure all which entirely solves a problem but in his essay Brooks is talking about order-of-magnitude improvements, and that looks a lot like Rust. Brooks was expecting such "Silver Bullet" improvements as often as every few decades, we're arguably overdue significantly. He cites Ada as an example of where such an improvement might come from, well, Rust isn't Ada but a lot of the same ideas about correctness are present. Google reports order of magnitude changes from their Rust work for example.
- HumanOstrich 3mo agoOrder of magnitude more complexity.
- Ygg2 3mo ago> Actually I suspect that Rust is a Silver Bullet in that sense. Not really. If anything I'm pretty sure Fred would compare it to Ada: > Nevertheless, Ada will not prove to be the silver bullet that slays the software productivity monster, It is, after all, just another high-level language, and the biggest payoff from such languages came from the first transition, up from the accidental complexities of the machine into the more abstract statement of step-by-step solutions. And I think he'd be on the money. Rust and Ada are revolutionary languages in their own right, but 10x holy grail they aren't.
- tialaramex 3mo ago> And I think he'd be on the money. Rust and Ada are revolutionary languages in their own right, but 10x holy grail they aren't. Google reports 4x fewer (and still falling) rollbacks for Rust versus C++ in their Android development for example. That's not 10x but it's pretty sizeable.
- pjmlp 3mo ago
- testdelacc1 3mo agoI get that it’s fun to dunk on Rust when a Rust bug surfaces. But is it a bit petty to bring this out when there’s any type of bug of any severity in any Rust software? In this case a small minority of requests were getting truncated responses. No one said Rust software is bug free. If someone thinks that they’ve been seriously misled.