frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Ask HN: Where have you found the coding limits of current models?

22•logicallee•2h ago
I'd love to hear where you've run into the limits of current coding models, whether it's based on lines of code, systems integration, databases, etc.

Comments

keyle•1h ago
I haven't found their limit, but I have found my limits, of waiting for them to do their thing...

I tend to re-enjoy handrolling code more. I delegate the stuff that annoys me.

We have a large multiplatform codebase, the issue seems to be more the time it takes to navigate the code and reason about it, rather than the size. Arguably the size is causing 'them' to be slower in that regards, but I haven't found the limit yet. And with compaction, it's even less of a problem.

my 5c.

netdevphoenix•1h ago
I think consistency levels when operating autonomously is still a challenge which you could refer to as their limit. You need to do so much around them to keep the consistency AND a decent level of performance. It's like a savant with a short-attention span.
wood_spirit•1h ago
I found sonnet 4.5 struggled with a two pointer interval merge (two sorted lists of things with start stop timestamps), but opus 4.5 managed. Then it took opus 4.6 to make it a three way or k way merge. So it reminded me of the classic Simple made Easy talk by Rich Hickey where he talks about braids. Sonnet couldn’t track two twisted braids and opus 4.6 managed a weave.

But the last few weeks Opus 4.6 seems to have got dumb again. Now it is making way more mistakes and forgetting useful things and recent context it used to manage.

I am guessing this is just Anthropic quietly dialling down the real effort as they either downsize or free up compute for someone or something else.

htrp•37m ago
> But the last few weeks Opus 4.6 seems to have got dumb again. Now it is making way more mistakes and forgetting useful things and recent context it used to manage.

are you logging access patterns and times to see when the degradation occurs?

reedf1•1h ago
Layers of abstraction. Most noticeably with inheritance and general OOP concepts. I've tried to force it, assuming it prefers a more functional or simple class style; but it genuinely struggles to generate (but not understand) what I might call a typical system in an OOP paradigm with well defined abstractions.
kaelandt•1h ago
It's just really hard for them to write non-verbose code. I don't know if this is incentives from the providers to generate more tokens, but even with guidance on compact code, simple, etc, they just can't really do it right now.
michaelmior•1h ago
At least part of that in my experience seems to be a desire to cover a number of edge cases that may not be practically relevant.
vekker•27m ago
Isn't this just an artifact of their chain-of-thought reasoning? If they are verbose in their output, it's more likely the next word predicted is actually correct.

Also, I see this more as a feature than a bug. In many projects I inherited in the past, I wish the original devs were a bit more verbose. Then again, with every developer using LLMs now, probably the opposite applies now.

spicyusername•1h ago
Writing too much at once with under specified prompts.

If you stick to targeted problems with well-described prompts, acceptance criteria, and lots of linting, unit testing, and integration testing, you'll typically get what you want with code that looks okay. And when things start to stray, it's easy to get things back on track.

It's when you start trying to have LLMs write too much without a human review that you start getting unnecessary function chains, abstractions that aren't needed, code that doesn't really match the existing style, duplicate code, missing functionality, hallucinated functionality, tautological tests, etc.

It works best when there's regular feedback in the loop about what's good and what's not good. Testing and linting can fill in some of that, but we still need a human in the loop with "taste", so to speak.

adventured•1h ago
They don't understand esoteric areas of computer science very well at all.

I had a mistake in which a large back-up file deletion event happened during a robocopy. 600gb of files got 'deleted' (file headers toast etc). Trying to get the LLMs to understand the hunt parameters, what to focus on, what not to focus on - none of them could reasonably come close to doing file content recovery properly. I needed to build a custom solution because the available industry options couldn't do what was required and the LLMs were useless for that (including the latest versions of Claude, Gemini and GPT). They just went around in circles, capped by their apparently weak knowledge of file recovery as a field. That is, creativity was their limitation.

hypendev•1h ago
Depends - in the pure technical "implementation" level, only limits I've found are the ones with outdated knowledge - libraries, platforms, availability of some things.

But one big limit is the DX. Their choice of DX is usually abysmal - ironically, just like an average devs. They seem to lack the aesthetic instinct for code, so you have to really point them hard into the direction or provide a sample of the expected DX, for them to still fight against it at every turn.

While understandable in a way, as they are trained on average code and most code will now be written by the machines anyways making the DX "less relevant", it's also a giant code smell, as bad DX tends to point towards bad internals and wrong decisions along the way.

So not really a technical limit - they swallow anything you throw at them, even the most complex cases - but more of an aesthetic limit in terms of taste.

Normal_gaussian•1h ago
Respecting instructions around tool use, even on small codebases, where the tool isn't its favourite way of doing things.

For example, models repeatedly try and not use my Makefile's (build / run / test / test-file / check) and instead spend several cycles attempting to invoke using system tools and getting it wrong.

I've got to the point where I run most models with an extra path folder which overrides typically bad commands tells them off and redirects them back (more effective and portable than hooks). But then sometimes the model reads the makefile, discovers the workaround, and does the stupid anyway.

rockbruno•1h ago
Problems that require deep knowledge of multiple repositories, e.g. when trying to debug issues involving dependencies. The models get confused very fast even with all code available locally, due to the size of the problem. But in my experience any kind of deep integration already messes up the models, even within a single repo.
Balinares•1h ago
Most recently: Opus 4.6 screwed up using a common and well documented API (Qt), then when asked to debug the observed issues, blamed "a Qt bug" and wrote a whole layer on top of the API to work around the issue caused by its incorrect use of the API.

It did the above twice in a row around different parts of the API.

The thought that there are almost certainly devs out there merging Claude PRs without the skills or volition to push back on its screwups is not comfortable.

sshine•1h ago
Dendritic Nix (either too new or too underrepresented in training data)

Proper escaping of layered syntaxes in Ansible on the first attempt

Writing bare-metal embedded Rust, although this was long ago, so not current models

dgb23•1h ago
I would push back on that question a little, because it has a baked in assumption about how these things work that conflict with my mental model and experience with them.

The reason is that sometimes it spits out something or does a workflow that's pretty sophisticated, and sometimes it fails spectacularly in the most basic ways.

I don't think there is a complexity or domain knowledge limit as there would be with a human. Or at least not in the same sense. As long as it can repeat and remix patterns that it is trained on, then it will do its thing well. The same seems to be true for "reasoning" loops and workflows. It can spit out code that has been done N times before in a similar manner for a large N.

They can still break down because of very trivial issues and assumptions that happen to be baked in, go off the rails and get stuck long loops that are completely insane if you think of them as imitating human programmers.

When I use an agent, I always interview it first about the task. Ask how they would go about it, probe them, give them info that they lack.

Never go from prompt to action. Have them define their approach first, then split the approach into pieces, from gathering data to cleaning it up and so on. If applicable, front-load work that can be achieved with scripts, so you have testable and repeatable steps rather than let it go wild.

So the TLDR is: I think the limitation is simply that it's a non-deterministic token machine that produces useful results enough of the time so it appears to be reasonable.

datsci_est_2015•1h ago
Hard limit:

  - Plenty of API hallucination happening on cutting edge Spark (4.0.0+) functionality, especially PySpark. Spark bares some blame here for broken and incomplete documentation. Takes a human in the loop to realize that the documentation is misleading or wrong or missing.
Soft limit:

  - API design. I’ve found that, unless specifically steered towards “good” API design (highly subjective), agents tend to just add another endpoint / function to satisfy the exact task at hand, with total disregard to how the rest of the API looks. (Pretty much exactly what a junior engineer would do…)
michaelmior•1h ago
On this note, one thing I've found Codex to do is worry more than necessary about breaking changes for internal APIs. Maybe a bit more prompting would fix this, but I found even when iteratively implementing larger new features, it worries about breaking APIs that aren't used by anything but the new code yet.
lloydatkinson•1h ago
That last part about it acting like a junior matches my experience very well. I'm using LLM's for refactoring, adding repetitive blocks of code, etc.

Unless I'm very clear at all times it will write code like the most annoying stubborn junior you've ever worked with. Nothing is sacred, everything can be abbreviated, shortened, made more confusing, made less readable, and concepts like readability or naming conventions are not even considered.

It also adds superfluous nonsense comments that don't explain the "why".

bluGill•1h ago
It doesn't push back enough when I ask it to implement something that is a bad idea. I've caught it breaking threading code, and then fixing it by putting atomic in the wrong place: which might have fixed in that a few racey tests can now run a thousands times, but it wasn't the right place and so the race still exist. It has changed constants when moving the constant to a different file (the move was required, but the constant were not expected to change).

I have found it very helpful to ask AI to review the latest changes - it often finds serious problems in review of code it just wrote.

saagarjha•1h ago
I find that AI models are very bad at doing performance work because they keep guessing how their changes affect things or not really understanding how the profiler results work, leading to them going in circles and taking forever. I have noticed this effect in surprisingly few lines of code (hundreds).
michaelmior•1h ago
One thing I've found that I've found super helpful for this is converting profiling results to Markdown and feeding it back into the agent in a loop. I've done it with a bit of manual orchestration, but it could probably be automated pretty well. Specifically, pprof-rs[0] and pprof-to-md[1] have worked pretty well for me, YMMV.

[0] https://github.com/tikv/pprof-rs

[1] https://github.com/platformatic/pprof-to-md

WhatsName•1h ago
I hate the tendency to make things up and I dont mean hallucinations.

I once had claude code write a python script that emulated the output of my training script, including pretending that loss is decreasing. Why? Because it was unable to install a python dependency.

Everytime I use a coding agent, I need to double check that it's not cutting corners, hard coding things that shouldn't be or straight up rewriting failing test cases.

What I need more is honesty.

mghackerlady•1h ago
Pretty much anything that isn't Python, (obj)C(++)(#), Java(script) or other somewhat popular languages like swift, go, and rust. They can do other languages, but things get rough for anything complex
singiamtel•54m ago
Codebases that are too big for the context window and not properly isolated modules. It can't keep track of everything.

Also any situation where the context window is even remotely close to being full. At 80% the degradation is noticeable enough to make me start from scratch

mrloba•18m ago
That depends on how many details I specify. If I specify a lot, I usually get what I want. But in the extreme this is just another form of coding (high quality code is quite similar to a detailed spec). In many cases I find I have to do many "passes" to get the right balance of correctness, performance, security, and clean architectural boundaries. Having a loop to fix these often makes it worse since they can often be contradictory.

There's also some types of code that I believe is often wrong in the training data that is almost always wrong in the LLM output as well. Typically anything that should have been a state machine, like auth flows, wizards, etc.

When all is said and done I think the main savings come from the high throughput of low-value generic solutions. I don't currently see this changing, and the reason is that high quality products cannot be generated without specifying a lot of details. Of course, we may not want quality.

How to Turn Anything into a Router

https://nbailey.ca/post/router/
54•yabones•49m ago•20 comments

Parrots pack twice as many neurons as primate brains of the same mass

https://www.dhanishsemar.com/writing/bird-brains
22•DiffTheEnder•1h ago•8 comments

Mathematical methods and human thought in the age of AI

https://arxiv.org/abs/2603.26524
83•zaikunzhang•3h ago•15 comments

The curious case of retro demo scene graphics

https://www.datagubbe.se/aipixels/
263•zdw•8h ago•64 comments

Show HN: Phantom – Open-source AI agent on its own VM that rewrites its config

https://github.com/ghostwright/phantom
13•mcheemaa•48m ago•0 comments

I use excalidraw to manage my diagrams for my blog

https://blog.lysk.tech/excalidraw-frame-export/
153•mlysk•7h ago•73 comments

ChatGPT won't let you type until Cloudflare reads your React state

https://www.buchodi.com/chatgpt-wont-let-you-type-until-cloudflare-reads-your-react-state-i-decry...
787•alberto-m•17h ago•513 comments

Ghostmoon.app – The Swiss Army Knife for your macOS menu bar

https://www.mgrunwald.com/ghostmoon/
94•mgrunwald_•2h ago•79 comments

Comprehensive C++ Hashmap Benchmarks (2022)

https://martin.ankerl.com/2022/08/27/hashmap-bench-01/
28•klaussilveira•4d ago•1 comments

Spring Boot Done Right: Lessons from a 400-Module Codebase

https://medium.com/all-things-software/spring-boot-done-right-lessons-from-a-400-module-codebase-...
26•dknj•3d ago•11 comments

Hamilton-Jacobi-Bellman Equation: Reinforcement Learning and Diffusion Models

https://dani2442.github.io/posts/continuous-rl/
88•sebzuddas•6h ago•22 comments

Voyager 1 runs on 69 KB of memory and an 8-track tape recorder

https://techfixated.com/a-1977-time-capsule-voyager-1-runs-on-69-kb-of-memory-and-an-8-track-tape...
602•speckx•22h ago•225 comments

Copilot edited an ad into my PR

https://notes.zachmanson.com/copilot-edited-an-ad-into-my-pr/
970•pavo-etc•10h ago•286 comments

VHDL's Crown Jewel

https://www.sigasi.com/opinion/jan/vhdls-crown-jewel/
94•cokernel_hacker•9h ago•32 comments

15 Years of Forking

https://www.waterfox.com/blog/15-years-of-forking/
236•MrAlex94•2d ago•48 comments

How the AI Bubble Bursts

https://martinvol.pe/blog/2026/03/30/how-the-ai-bubble-bursts/
208•martinvol•1h ago•258 comments

In Math, Rigor Is Vital. But Are Digitized Proofs Taking It Too Far?

https://www.quantamagazine.org/in-math-rigor-is-vital-but-are-digitized-proofs-taking-it-too-far-...
7•isaacfrond•4d ago•1 comments

Ninja is a small build system with a focus on speed

https://github.com/ninja-build/ninja
50•tosh•3d ago•13 comments

C++26 is done: ISO C++ standards meeting Trip Report

https://herbsutter.com/2026/03/29/c26-is-done-trip-report-march-2026-iso-c-standards-meeting-lond...
274•pjmlp•20h ago•276 comments

The First Video Game Was Just a Box in the Corner of a Bar

https://lithub.com/the-very-first-video-game-was-just-a-box-in-the-corner-of-a-bar/
24•PaulHoule•3d ago•16 comments

Hardware Image Compression

https://www.ludicon.com/castano/blog/2026/03/hardware-image-compression/
46•luu•1d ago•8 comments

Philly courts will ban all smart eyeglasses starting next week

https://www.inquirer.com/news/philadelphia/smart-glasses-ai-meta-courts-20260326.html
329•Philadelphia•12h ago•152 comments

My MacBook keyboard is broken and it's insanely expensive to fix

https://tobiasberg.net/posts/my-macbook-keyboard-is-broken-and-its-insanely-expensive-to-fix/
283•TobiasBerg•19h ago•323 comments

Douglas Lenat's Automated Mathematician Source Code

https://github.com/white-flame/am
41•hydrolox•4d ago•5 comments

Pretext: TypeScript library for multiline text measurement and layout

https://github.com/chenglou/pretext
340•emersonmacro•1d ago•61 comments

Eclipse GlassFish: This Isn't Your Father's GlassFish

https://foojay.io/today/eclipse-glassfish-this-isnt-your-fathers-glassfish/
38•henk53•5d ago•31 comments

Midnight train from GA: A view of America from the tracks as airports struggle

https://apnews.com/article/airports-shutdown-long-lines-train-travel-amtrak-e4d8ea591b3b036142c2b...
126•walterbell•18h ago•109 comments

Coding agents could make free software matter again

https://www.gjlondon.com/blog/ai-agents-could-make-free-software-matter-again/
231•rogueleaderr•15h ago•222 comments

How A Spartan Revolutionized Baseball

https://msutoday.msu.edu/news/2026/03/spartan-revolutionize-baseball
20•rmason•4d ago•3 comments

15 years, one server, 8GB RAM and 500k users – how Webminal refuses to die

https://community.webminal.org/t/15-years-one-server-8gb-ram-and-500k-users-how-webminal-refuses-...
198•giis•8h ago•38 comments