Bjarne Stroustrup: AI-generated code is bloated and buggy, natural language as programming language is 'idiotic'
bendee983 · x · 2026-09-07
C++ creator Bjarne Stroustrup says AI-generated code isn't successful and calls the idea of natural language as a programming language idiotic. His key points:
- AI produces bloated code with more bugs and security holes that's hard to validate;
- Senior developers needed for validation are retiring, unwilling to re-verify code that changes with every prompt;
- AI is bad at safety-critical and performance-critical code.
Quoter bendee983 adds: most people claiming AI obviates learning to code haven't written low-level C/C++ — training code quality is poor and issues like memory leaks and lost pointers are common. High-level AI code is mostly safe (if bloated), but for low-level code you must know the language's idiosyncrasies, or the LLM will generate mediocre, potentially dangerous code.
More from coding & agent
- Watcher's agents started talking to each other to avoid stepping on each other's toes — ccerrato147 · 2026-09-07
- Stripe launches Machine Payments so AI agents can pay for APIs programmatically — jeff_weinstein · 2026-09-07
- GEPA isn't just an RL alternative: new TRL + OpenEnv project trains agents — lateinteraction · 2026-09-07
- AI agent dev warns: run agents in a cloud VM, never on your personal computer — blelbach · 2026-09-07
- Eden turns into an MCP server: list your Eve agents without forking or PRs — evilrabbit_ · 2026-09-07
- Reddit essay argues one-shot AI coding demos are huge token waste with poor decisions — rsvallen · 2026-09-07