Re:Bjarne Stroustrup's Plan for Bringing Safety to C++
by pomatic on Monday October 30, 2023 @02:32PM
(#38073684)
Am I an idiot? Re-working language definitions and compilers is _hard_. Instead, why not accept there are flaws and try to catch/fix them? I can see two obvious paths (I'm sure there are more) to address (N.P.I) these issues - top down: AI based code review. Wouldn't that catch 80%+ of common errors? Bottom up: Aggressive hardware fencing of memory access, much finer grained than pages? What am I missing?
[ Parent
| on HN ]
Re:Bjarne Stroustrup's Plan for Bringing Safety to C++
by burjui on Monday November 06, 2023 @07:05PM
(#38171158)
If you need a superhuman intellect (admittedly, a narrow one) in order to write sane code in a language, that means that language is no longer a good language for humans.
The current trend of slapping an AI onto everything makes me nervous about our future: why put effort into careful design when it's easier to feed terabytes of data to an AI and hope something good comes out? Nevermind that you now have to sift through tons of garbage it produces.
C++ is deeply flawed to say the least, you won't fix it with AI or anything. It's time to ditch it already.