News for hackers. Stuff that matters.
Re:The Adoption of Rust in Business by bryanlarsen on Tuesday February 07, 2023 @09:03AM (#34692836)
Rust is fabulous at avoiding those types of errors. Use rich types to avoid domain errors, use Rust's enum's to hold state data and then use exhaustive match etc to avoid logic and algorithmic errors, use wrapping_add et al to avoid arithmetic errors.
Re:The Adoption of Rust in Business by FpUser on Tuesday February 07, 2023 @10:34AM (#34694110)
These features are helpful no doubt but would in no way guarantee "if it compiles it works" promise.
Re:The Adoption of Rust in Business by bryanlarsen on Tuesday February 07, 2023 @10:58AM (#34694406)
It only has to help infrequently for it to be a win. And it helps more than infrequently.
Re:The Adoption of Rust in Business by pdw on Tuesday February 07, 2023 @11:16AM (#34694664)
Nobody made a promise. The comment you're reacting to said "happens often to me".
Re:The Adoption of Rust in Business by mcronce on Tuesday February 07, 2023 @11:46AM (#34695110)
It's not a promise, it's an observation
Re:The Adoption of Rust in Business by FpUser on Tuesday February 07, 2023 @11:51AM (#34695180)
lets call it a lure.
Re:The Adoption of Rust in Business by mcronce on Tuesday February 07, 2023 @12:06PM (#34695436)
You can if you want, but it sounds a lot more like FUD than anything else.