We keep adding more rules, more attributes, more ceremony, slowly drifting away from the golden rule Everything ingenious is simple.
A basic
size_t size() const gradually becomes
[[nodiscard]] size_t size() const noexcept.Instead of making C++ heavier, why not push in the opposite direction and simplify it with smarter tooling like AI-powered compilers?
Is it realistic to build a C++ compiler that uses AI to optimize code, reduce boilerplate, and maybe even smooth out some of the syntax complexity? I'd definitely use it. Would you?
https://redd.it/1p6afdg
@r_cpp