frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

The unbearable slowness of AI coding

https://joshuavaldez.com/the-unbearable-slowness-of-ai-coding/
49•aymandfire•1h ago

Comments

falcor84•1h ago
> ... I’ll keep pulling PRs locally, adding more git hooks to enforce code quality, and zooming through coding tasks—only to realize ChatGPT and Claude hallucinated library features and I now have to rip out Clerk and implement GitHub OAuth from scratch.

I don't get this, how many git hooks do you need to identify that Claude had hallucinated a library feature? Wouldn't a single hook running your tests identify that?

sc68cal•1h ago
They probably don't have any tests, or the tests that the LLM creates are flawed and not detecting these problems
deegles•40m ago
I tried using agents in Cursor and when it runs into issues it will just rip out the offending code :)
AstroBen•27m ago
Just tell the AI "and make sure you don't add bugs or break anything"

Works every time

loandbehold•52m ago
"hallucinated" library features are identified even earlier, when claude builds your project. i also don't get what author is talking about.
pluto_modadic•33m ago
AI agents have been known to rip out mocks so that the tests pass.
avr5500•58m ago
I split large large task in 4-5 small sub tasks, each in new conversation to save tokens and it does a pretty good job.
jama211•54m ago
Well yeah, as the app scales it will bump up against context limits. Giving it sandboxed areas to do specific tasks will speed it up again, but that’s not possible with everything.
dwringer•51m ago
Slow is smooth, smooth is fast.
DrewADesign•30m ago
Maybe I’ve misunderstood this, so correct me if I’m wrong… do actual professional developers let enough code be generated to include entire libraries that handle things as important as authentication, and then build on top of it without making sure the previously generated code actually does what it’s supposed to? Just accept local PRs written by AI, with a very sternly worded “now you better not make any bullshit” system prompt? All this just in time to ramp up AI penetration tools. Jesus.

It’s kind of crazy to me how the cool kid take on software development, as recent as 3 years ago, was: strictly-typed everything, ‘real men’ don’t use garbage collection, everything must be optimized to death even when it isn’t really necessary, etc. and now it seems to be ‘you don’t seriously expect me to look at ‘every single line of code’ I submit, do you?’

hodgehog11•27m ago
AI tools seem excellent at getting through boilerplate stuff at the start of a project. But as time goes on and you have to think about what you are doing, it'll be faster to write it yourself than to convey it in natural language to an LLM. I don't see this as an issue with the tool, but just getting a better idea of what it is really good for.
Nextgrid•21m ago
The role of a software engineer is to condense the (often unclear) requirements, business domain knowledge, existing code (if any) and their skills/experience into a representation of the solution in a very concise language: a programming language.

Having to instead express all that (including the business-related part, since the agent has no context of that) in a verbose language (English) feels counter-productive, and is counter-productive in my experience.

I've successfully one-shotted easy self-contained, throwaway tasks ("make me a program that fills Redis with random keys and values" - Claude will one-shot that) but when it comes to working with complex existing codebases I've never seen the benefits - having to explain all the context to the agent and correcting its mistakes takes longer than just doing it myself (worse, it's unpredictable - I know roughly how long something will take, but it's impossible to tell in advance whether an agent will one-shot it successfully or require longer babysitting than just doing it manually from the beginning).

pbalau•10m ago
We are going to end up having boilerplate natural language text, that's been tested and proven to get the same output every time. Then we'll have a sort of transpiler and maybe a sub language of English, to make prompting easier. Then we will source control those prompts. What we actually do today, with extra steps.
skeedle•26m ago
Even it's slow, you can run multiple agents. You can have one doing changes, while another writes documentation, while another does security checks, while another looks for optimizations. Persist finding to markdown files to track progress and for cross-agent knowledge sharing if need. And do whatever else while it's all running. This has been my experience.
foobarbecue•22m ago
OP says in 2nd paragraph that they are using multiple agents in parallel. In fact, that's what their app does.
ants_everywhere•20m ago
if they are modifying the same code, then you have to merge all of different changes so it's not really parallel.

IME it's faster to not try to edit the same code in parallel because of the cost of merging.

sarchertech•19m ago
But then you have to keep all those tasks in your head and be ready to jump into any of them.

The check-ins are much more frequent and the instructions much lower level than what you’d give to a team if you were running it.

Do you have an example of a large application you’ve released with this methodology that has real paying users that isn’t in the AI space?

block_dagger•20m ago
My employer hosts one of the largest Ruby on Rails apps in the world. I've noticed that Claude Code takes a long time to grep for what it needs. Cursor is much better at this (probably because of local project indexing). Due to this, I favor Cursor over CC in my day to day workflows. In smaller code bases, both are pretty fast.
doctoboggan•19m ago
When building a project from scratch using AI, it can be tempting to give in to the vibe and ignore the structure/architecture and let it evolve naturally. This is a bad idea when humans do it, and it's also a bad idea when LLM agents do it. You have to be considering architecture, dataflow, etc from the beginning, and always stay on top of it without letting it drift.

I have tried READMEs scattered through the codebase but I still have trouble keeping the agent aware of the overall architecture we built.

doubleorseven•17m ago
I've never done QA. Just thinking about doing QA makes my head swirl. But yes, because of LLMs I am now a part time QA engineer, and I think that it's kinda helping me be a better developer. Im working on a massive feature at work, something I can't just give to an agent and I already feel like something changed in how I think about every little piece of code im adding. didn't see that coming.
ricardo81•14m ago
Somewhat related, I Found cursor/VS was slowing to the point of being unusable. Turning on privacy mode helped, but the main culprit was extremely verbose logging. Running `fatrace -c --command=cursor` discovered the issue.

The disk in question was an HDD and the problem disappeared (or is better hidden) after symlinking the log dir to an SSD.

As for code itself, I've never had an issue with slowness. If anything it's the verbosity of wanting to explain itself and excess logging in the code it creates.

ants_everywhere•11m ago
I've found LLMs to be very good at writing design docs and finding problems in code.

Currently they're better at locating problems than fixing them without direction. Gemini seems smarter and better at architecture and best practices. Claude seems dumber but is more focused on getting things done.

The right solution is going to be a variety of tools and LLMs interacting with each other. But it's going to take real humans having real experience with LLMs to get there. It's not something that you can just dream up on paper and have it work out well since it depends so much on the details of the current models.

Making a Wacky Sound Generator from a Speak and Spell from Start to Finish [video]

https://www.youtube.com/watch?v=gh6z8XMzY-M
1•fortran77•1m ago•0 comments

A new 5″ variant of Raspberry Pi Touch Display 2

https://www.raspberrypi.com/news/a-new-5-variant-of-raspberry-pi-touch-display-2/
1•6LLvveMx2koXfwn•2m ago•0 comments

iPhone 17, the 'thinnest iPhone ever,' and what we're expecting in Apple's event

https://techcrunch.com/2025/08/21/iphone-17-the-thinnest-iphone-ever-and-everything-else-were-expecting-out-of-apples-hardware-event/
1•wslh•3m ago•0 comments

FBI returns stolen document signed by conquistador Hernán Cortés to Mexico

https://www.theguardian.com/world/2025/aug/14/hernan-cortes-document-mexico
1•prmph•4m ago•0 comments

Apple TV+ price jumps 30% to $12.99 monthly

https://techcrunch.com/2025/08/21/apple-tv-price-jumps-30-to-12-99-monthly/
2•wslh•5m ago•0 comments

Alec Radford

http://newmu.github.io//
1•simonpure•6m ago•0 comments

I built my first side project: Tubee, in 2017

https://blog.tomy.me/en/posts/tubee/
1•tomy0000000•10m ago•1 comments

Linux Adding Detection for BSD's Bhyve Hypervisor to Support 255 VCPUs

https://www.phoronix.com/news/Linux-Bhyve-Detection
1•Bender•11m ago•0 comments

PyPI unverifies 1,800 emails with expired domains to prevent attacks

https://www.scworld.com/news/pypi-unverifies-1800-emails-with-expired-domains-to-prevent-attacks
1•Bender•15m ago•0 comments

Ask HN: Can you communicate with a dog if you give it a Neuralink-like implant?

1•amichail•15m ago•1 comments

Systemd 259 to Raise Linux System Requirements

https://www.phoronix.com/news/systemd-259-Requirements
2•Bender•15m ago•0 comments

Got tired of bad PDF WebApp so we made an Open-Sourced,Free,Private Alternative

https://github.com/VSRemoter/LuxPDF
5•PseudoNumbers•15m ago•1 comments

Congressman proposes bringing back letters of marque for cyber privateers

https://www.theregister.com/2025/08/21/congressman_proposes_bringing_back_letters/
4•rntn•16m ago•2 comments

Sword swallowing and its side effects

https://www.bmj.com/content/333/7582/1285
2•bookofjoe•17m ago•0 comments

Crimes with Python's Pattern Matching (2022)

https://www.hillelwayne.com/post/python-abc/
2•agluszak•20m ago•0 comments

Dynamic Chrome Themes: Building DHH's Vision for Omarchy

https://www.januschka.com/chromium-omarchy.html
1•janvdberg•21m ago•0 comments

Local Live Captioning with Whisper.cpp and FFmpeg

https://brady.fyi/post/local-live-captioning-with-whisper.cpp-and-ffmpeg/
1•h-bradio•23m ago•1 comments

"Python for Those Who Cannot Even", a Book by Claude Code

https://github.com/cloudstreet-dev/Python-for-Those-Who-Cannot-Even
2•DavidCanHelp•26m ago•2 comments

AI Memory Architectures: Why MemGPT Outperformed OpenAI's Approaches

https://guptadeepak.com/the-ai-memory-wars-why-one-system-crushed-the-competition-and-its-not-openai/
1•guptadeepak•30m ago•1 comments

Cloudflare AI Audit

https://developers.cloudflare.com/ai-audit/
1•mmarian•30m ago•0 comments

Magnets Are on the Move

https://www.bnl.gov/newsroom/news.php?a=222523
1•PaulHoule•32m ago•0 comments

Building simple tool: upload your CV → get instant no-BS feedback

2•sultanmustafin•34m ago•0 comments

Don't Pay This AI Family to Write You a Song [video]

https://www.youtube.com/watch?v=u-DDHSfBBeo
1•fortran77•34m ago•0 comments

Starlink wants billions in grants, but state governments aren't cooperating

https://arstechnica.com/tech-policy/2025/08/starlink-wants-billions-in-grants-but-state-governments-arent-cooperating/
2•voxadam•34m ago•0 comments

Startups on hard mode: Founding in Europe

https://medium.com/@bradhe/startups-on-hard-mode-founding-in-europe-652d08f0fccb
1•bradhe•35m ago•0 comments

AI coding: plateauing but also accelerating

https://ghiculescu.substack.com/p/ai-coding-plateauing-but-also-accelerating
2•jpau•36m ago•1 comments

Show HN: Tap – Interactive CLI Prompts for Go (Clack Port)

https://github.com/yarlson/tap
2•yar-kravtsov•37m ago•0 comments

From Tweet to Chrome: Implementing Tobi Lütke's Browser Focus Feature

https://www.januschka.com/chromium-focus-feature.html
1•fratellobigio•38m ago•0 comments

Immigrant Population in U.S. Drops for the First Time in Decades

https://www.nytimes.com/2025/08/21/us/immigration-decline-united-states-trump.html
6•littlexsparkee•39m ago•5 comments

Grug Design

https://www.grug.design/know
31•qazxcvbnmlp•40m ago•12 comments