{"slug": "amdahl-s-law-for-llm-generated-code", "title": "Amdahl's Law for LLM generated code", "summary": "LLMs can theoretically generate millions of correct lines of code, but any important code still requires hand-auditing every line—a process harder than writing it from scratch. This creates a fundamental limit on the speedup LLMs provide for code that matters, as human trust in an engineer does not apply to AI-generated output.", "body_md": "LLMs may theoretically be able to generate millions of correct lines of code.\n\nBut for any important code the only way to know that it's correct is to hand-audit every line, which is harder than writing every line because this allows you to build a conceptual hierarchy and model within which you can think about the code.\n\nSo there's a fundamental limit to the speedup from LLMs when writing anything you care about.\n\n(The main objection will be what about when you have a human engineer working on your behalf. But this is a distraction: sometimes you can fully trust an engineer, which is not at all true for LLMs.)\n\nComments URL: [https://news.ycombinator.com/item?id=48278179](https://news.ycombinator.com/item?id=48278179)\n\nPoints: 1\n\n# Comments: 1", "url": "https://wpnews.pro/news/amdahl-s-law-for-llm-generated-code", "canonical_source": "https://news.ycombinator.com/item?id=48278179", "published_at": "2026-05-26 11:21:24+00:00", "updated_at": "2026-05-26 11:38:28.587471+00:00", "lang": "en", "topics": ["large-language-models", "generative-ai", "ai-safety"], "entities": ["Amdahl's Law"], "alternates": {"html": "https://wpnews.pro/news/amdahl-s-law-for-llm-generated-code", "markdown": "https://wpnews.pro/news/amdahl-s-law-for-llm-generated-code.md", "text": "https://wpnews.pro/news/amdahl-s-law-for-llm-generated-code.txt", "jsonld": "https://wpnews.pro/news/amdahl-s-law-for-llm-generated-code.jsonld"}}