2 ms·
After seeing and writing my fair share of production C++, I have the impression that dealing with its complex semantics will inevitably absorb most of the brain
by kubb 4y ago
After seeing and writing my fair share of production C++, I have the impression that dealing with its complex semantics will inevitably absorb most of the brainpower of the engineers working on the codebase.
New code has to be carefully considered and examined for its potential invisible side effects, abstractions have to be expertly designated, you rely on a whole playbook of idioms for solving everyday tasks.
To me, Rust looks like a simpler language. If someone already understands the intricacies of C++, there isn't anything they wouldn't be able to grasp there (including the borrow checker, which C++ programmers have to run in their heads every time they make a change).
It's funny how technology develops. We sometimes get stuck in local minimums and it takes an enormous effort of thousands of people to move the needle a bit from there.
I wonder what's going to be the next thing after Rust. Considering how much time these things tend to stick around, I might be dead by then.