Remix.run Logo
sunshowers 4 days ago

The person who introduced the bug was highly competent and had at least 10 years of C++ experience. He was sure he'd gotten it right and himself didn't believe how subtle the bug turned out to be.

The people coming from GC languages have the right expectations about the language taking care of lifetimes for them. I expect nothing less than technical excellence from my tooling.

fluoridation 4 days ago | parent [-]

To clarify, I'm not interested in debating the skills of any particular programmer. My sole point is that lambdas didn't bring any new ways of mismatching lifetimes. That programmer could have made the exact same mistake with a functor instead and it wouldn't have changed anything.

>I expect nothing less than technical excellence from my tooling.

Good luck with that.

sunshowers 4 days ago | parent [-]

I've been having great luck expecting technical excellence from Rust and its community, thank you!