frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

How we made claude.ai 3x faster in two weeks

https://claude.dev/blog/how-we-made-claude-ai-faster/
77•matthieu_bl•1h ago

Comments

minimaxir•1h ago
This writeup legit coincidentally matches the asking-agents-to-make-code-faster-but-with-constraints-to-stop-agents-from-breaking-things writeup I posted on Monday: https://news.ycombinator.com/item?id=49803085

Front-end UI optimization is slightly trickier than optimizing strict algorithms, but I found that prompts to the agents to build tooling to track visual regressions are more than sufficient. The main issue (at least with GPT models) is that you have to be very explicit about the use of padding/margins/negative space.

That said, for my front end projects from scratch, I'm staying away from front-end JS frameworks and seeing how far and fast I can get with just HTML/CSS/vanilla JS shenanigans now that agents can wield them effectively.

sonar_un•1h ago
This was a fantastic read. Lots of useful info in there for your own projects.
chaordCAD•55m ago
Great writeup really appreciate the detail on what actually worked vs. what didn't.
applfanboysbgon•54m ago
tl;dr if you make absolute dogshit software that takes 4.38 seconds to stabilize its first paint you can make really nice headline claims by "optimizing" it later
sashank_1509•48m ago
Unironically true, can someone question, what is Claude desktop app doing that needs 500k+ lines of code?

Agents complicate something that should be much smaller and simpler and then agents speed it up adding more complexity. I suppose functionally you may say this is fine but aesthetically it is hideous!

applfanboysbgon•40m ago
There is nothing even functionally fine about this. The me who has programmed for a 4mhz computer with 128kb of RAM is crying inside. It's a fucking trivial interface for writing and displaying text and sending HTTP requests. You could have that displayed ~instantly on an 80s home PC. Now we have home computers that can execute somewhere between billions and trillions of instructions per second and yet a task that should take <10ms takes 4500ms. Our industry has become an absolute embarrassment.
Daishiman•39m ago
The Claude CLI does a lot more....
applfanboysbgon•35m ago
This article is about the graphical interface, not the CLI.
bigwheels•
hungryhobbit•51m ago
How about you make Opus 5.5 actually work?

I had it try to prepare a code review for me. Not only did it refuse, it refused to even tell me what the prompt (written by another Claude!) was. Why?

When I had another model read the session (all of the "stupider" models handled it just fine) it explained that it had the word "reasoning" in it

That's the entirety of Anthropic's billions of dollars of research: any prompt with the word "reasoning" is trying to hack Claude to figure out how it reasons!

A model like that should never have gotten out of QA, let alone been released.

railgunmerlin•50m ago
seems a bit weird to complain about the model issues in a post about the harness/sites?
bitpush•37m ago
I understand the frustration but shows a lack of critical thinking. Esp when you start with 'How about ..'.

This blogpost is about frontend performance. It'll be akin to you commenting on a swift blogpost saying 'How about Airpods noise cancellation'. Sure both are Apple, but they are wildly different teams.

hungryhobbit•20m ago
This is a techie discussion forum.

In such a forum, it seems to me like it's fair game to point out that the company patting itself on the back about how great they are at programming (as evidenced in the article above about their 3x speed improvement) ...

... can't even make their latest model handle basic English without refusing to work.

frumplestlatz•31m ago
rvz•49m ago
Let's try this again if you want an instant 10x speed up:

Claude rewrite Claude Code from TypeScript into Rust. Make absolutely no mistakes.

cpursley•12m ago
Not sure why you're getting downvoted, the Rust based tui's absolutely smoke Claude Code.
minimaxir•1m ago
It's an overdone Reddit-esque comment that adds nothing to the discussion.
datadrivenangel•46m ago
AI written slop. They need to upgrade to Opus 5.5 or switch to OpenAI for writing.
binlog•44m ago
Step 1 - make a website that takes 3 seconds to load a blank page.

Step 2 - bring it down to 1 second and pat yourself on the back.

xnx•31m ago
Correct. A web page is fast by default. Everything that is added makes it slower.
altern8•41m ago
I used Opus 5.5 today for the first time hoping the writing would be more bearable and it SUCKS.

Why can't they fix that

tarr11•40m ago
Opus 5.5 writing is much more concise than 5.0
m00x•33m ago
but Opus 5 is absolutely terrible. I'm still on 4.8 when I use Claude. I still think 5.6 Sol is the best available model outside of Astra/Fable.
altern8•32m ago
MAYBE, but the bar is so low... It's not that it's good in any way
whythismatters•39m ago
The juvenile nonchalance with which some Anthropic employees seem to be talking to their AI (wacky, sick, cook, ...) is truly bizarre.
ieie3366•27m ago
That’s just how people in their 20s casually communicate now. It’s mostly from tiktok
montroser•37m ago
Okay, now fix the WYSIWYG markdown parsing in the chat input!

Paste in a stack trace, then try to put it in a code block. Add a newline above, then add the opening triple backticks, then arrow down and add closing triple backticks at the bottom. Opposite congrats -- you have ended up with raw triple backticks at the top, plain text stack trace, and your cursor in a brand new code block at the bottom starting where you tried to close.

Realize you want to go put code span backticks around some identifiers you wrote out earlier? Best make sure to insert them in the blessed left-to-right order, or else opposite congrats again -- you'll end up with a mix of raw backticks and code span treatment for the text between your identifiers.

If Claude can discover novel CRISPR enzymes, surely it can make a rich text markdown editor, no?

AlexErrant•28m ago
Here's a simpler bug:

Claude Cowork still can't persistently reference a local dir, broken ever since they moved to their cloud project system, breaking many non-technical people's workflows.

vikramkr•26m ago
Less a post about performance and more about their Claude tag product. I guess it makes sense that there's not actually a ton of technical detail being moved into given probably opus is the only one that knows what all the dragons were lol - but cool workflow I guess
pllbnk•25m ago
> $500k engineer: [X] feels slow. Make it faster.

> Claude: On it... Done.

> $500k: Can you make it faster still?

> Claude: On it...

smy20011•22m ago
The way Claude did it is fight entropy with entropy.

"Add a static composer into the HTML" <- This seems like something can be done with SSR?

"For faster navigations, we kept the composer mounted between conversations" <- Your SPA should cache this between pages, why fetching it every time? Or you need better routing for your react components.

"cheap first-character check before the regex" <- Should we cache compiled Regex instead?

I think even 1.3 sec to load the front page is unacceptable. Something need to be reworked from basics (SSR, chunk-based rendering) to solve the problem. Focusing on invidual benchmarks may miss the opportunity.

rustystump•3m ago
The amount of complexity added for the gains is depressing. I am confident a human and about 5 minutes with chrome debugger would yield better results with a fraction of the complexity at a fraction if the cost and in a fraction of the claude baby sitting time.

Reading this shows the authors have a profound lack of fundamental understanding on how to effectively optimize in the web domain.

This isnt claude being bad but how wild it is watch people from the cutting edge of ai brag about pretty mediocre gains.

guideaitools•18m ago
It's impressive to see performance optimizations of this scale shipped so quickly. Often, single-page app bloat and re-fetching states on navigation become major bottlenecks as products scale. Reducing these overheads makes a massive difference in perceived user experience.
humbleharbinger•14m ago
Bot comment?
owebmaster•12m ago
With a simple trick: make it very slow first
RomanKornev•10m ago
The most important question is how much more unreadable the code became after all this "ratcheting the benchmark down". If you unroll a loop it will perform faster, but making changes to such unrolled code will be a mess. Will this make them ship slower overall? I'm sure at least half of it was just poorly written React code, but the other half?

It's the same problem as overfitting in model training. If you're not measuring something it will get sacrificed.

Or, perhaps the code quality literally doesn't matter anymore and we've reached "code quality escape velocity" where you can code as much slop as you want, the next generation of models will clean it up faster than the slop generates?

khalic•9m ago
Love it, the kids rediscover plain HTML and optimisation.
hmokiguess•2m ago
You removed the load-bearing seams didn't you
rancar2•1m ago
Since I didn’t love the technical approach here (once one takes the humans out of the loop, there’s more ambitious things that can be done), I do appreciate the process. It’s not until the last sentence when process inspiration is revealed: “Special thanks to Boris Cherny for encouraging us to be more ambitious.”
23m ago
TempleOS had kernel, compiler, 2D and 3D graphics drivers + libs, and tons of games and applications and the entire thing weighed in at less than 100kloc.

AI coding agents of today definitely bloat things up [egregiously].

theshrike79•14m ago
On the other hand applications on TempleOS are expected/assumed to be perfect and have no bugs. It makes things a lot simpler =)
winstonp•14m ago
the codex desktop app bundles libreoffice's libraries. i wouldn't be surprised if claude does something similar.
Daishiman•40m ago
Most line-of-business software has a lot of optimization opportunities. Making software optimized takes up time that can be spent building features. The fact that you can just make things go fast without having to take time away from feature building is actually pretty awesome.
applfanboysbgon•38m ago
Not taking 5 seconds to load text is a feature. 10x more valuable than whatever other shitty feature you're thinking of piling onto your monstrosity. Like, actually tangible valuable to users and consequently your business; Google has already done the studies at scale that demonstrate how every 100ms of delay has an observable impact on usage statistics and user retention.
I’ve had the same thing occur five or six times over the past week; they seem to be attempting to prevent anything resembling chain of thought extraction.

Every single time it triggered, it was due to a prompt written by their own model in a dynamic workflow. The self-serving nanny oversight has to go.

The fact that they label model distillation as an “attack” is genuinely hilarious after they “distilled“ their models from all of our work, and continue to do so.

I believe AI is here to stay and an incredibly powerful tool, but these companies, and especially Dario and Altman, are the very last people I want to see in charge of it.

copperx•19m ago
> “distilled“ their models from all of our work

They distilled all digitized human knowledge and artifacts and they're now complaining about someone copying their outputs saying it's a "national security concern."

I'm not sure about how to classify that. Hilarious? Pathetic? Sad? Hypocritical? Hyperdramatic? All of the above?

vikramkr•30m ago
Probably it thinks you're doing some sort of system prompt exfiltration/distillation attack. Also what even is the workflow you're trying to have it do? It's doing code review but you're having it read some other AI models prompt/session history? Are you doing code review or like session history retrospectives?
post-it•27m ago
> When I had another model read the session (all of the "stupider" models handled it just fine) it explained that it had the word "reasoning" in it

Did it explain it did it hallucinate?

hungryhobbit•9m ago
This happened at the classifier level, there was no "Claude thought X about it (hallucinating or otherwise)": this was a glorified regex deciding Claude couldn't work on a prompt (a code review prep) because it contained a string ("reasoning") it didn't like.

It's more or less the same mistake we've seen Anthropic make repeatedly with it's brain-dead regex-based Fable/Mythos gates.

Claude discovers a novel enzyme system with CRISPR-like repeats

https://www.anthropic.com/news/claude-discovers-novel-enzyme-system
252•raahelb•2h ago•249 comments

Fixing the Portobello Police Station Clock

https://pointinthecloud.com/2026-04-11-211700.html
318•avidly•5h ago•71 comments

A brief history of Windows scroll bar shortcuts

https://devblogs.microsoft.com/oldnewthing/20260922-00/?p=112719/
60•tybulewicz•2h ago•28 comments

Italian parliament votes for return to nuclear energy

https://apnews.com/article/italy-nuclear-chernobyl-4891b6b7c7791ae84db6b0bf0f7cf567
336•geox•3h ago•190 comments

How can this Amazon scammer keep going, not shipping any goods?

https://www.amazon.de/sp?language=en&ie=UTF8&seller=A29EBN4DXM8UCL&asin=B0CGBFF8K9&ref_=dp_mercha...
19•kiloklokillo•31m ago•13 comments

Gemini 3.8 text-to-speech

https://blog.google/innovation-and-ai/models-and-research/gemini-models/gemini-3-8-text-to-speech/
192•swolpers•5h ago•100 comments

Radicle: Disclosure of Vulnerability in the Network Protocol

https://radicle.dev/2026/09/23/disclosure-of-vulnerability-in-network-protocol
91•lostmsu•5h ago•33 comments

Jev in 25 Lines of Python

https://www.nobodywho.ai/posts/jev-in-25-lines/
563•bashbjorn•13h ago•181 comments

GPT-6 Sol and Luna

https://openai.com/index/introducing-gpt-6-sol-and-luna/
1719•OfficialTurkey•1d ago•818 comments

Claude Opus 5.5

https://www.anthropic.com/claude-opus-5-5
1759•km144•1d ago•1066 comments

Tokens too cheap to meter

https://jyn.dev/tokens-too-cheap-to-meter/
184•teoruiz•11h ago•153 comments

Show HN: Conway's Game of Life in boot sector

https://github.com/0xAX/BootLife
12•0xAX•2d ago•3 comments

Stripe's Knowledge AI Platform

https://stripe.dev/blog/meet-stripes-knowledge-ai-platform
150•ltononro•7h ago•97 comments

Z80 REPL (2018)

https://abagames.github.io/z80-repl/index.html
127•adunk•9h ago•17 comments

How we made claude.ai 3x faster in two weeks

https://claude.dev/blog/how-we-made-claude-ai-faster/
77•matthieu_bl•1h ago•49 comments

Claude Code reads AGENTS.md only when telemetry is on [fixed]

https://blog.szypowi.cz/p/claude-code-reads-agents.md-only-when-telemetry-is-on/
418•pszypowicz•8h ago•236 comments

I don't want the details

https://michaelheap.com/i-dont-want-the-details/
288•mooreds•7h ago•172 comments

UK military jamming other nations' satellites to defend itself, BBC told

https://www.bbc.com/news/articles/c32l8y8kygdvo
86•thm•3h ago•146 comments

Show HN: I built a post-mortem debugger for native Windows x64/x86 crashes

https://www.forensicdbg.com
8•Loren_SL•1h ago•0 comments

Show HN: An atlas of system designs with interactive architecture diagrams

https://atlas-sysdes.vercel.app/
4•mertkahyaoglu•1d ago•2 comments

DoorDash Spent $1.4M Trying to Stop Mamdani from Becoming Mayor. Now We Know Why

https://theintercept.com/2026/09/23/doordash-delivery-nyc-mamdani-wage-theft-settlement/
121•vrganj•55m ago•37 comments

QuestDB (YC S20) Is Hiring a Sales Engineer

https://questdb.com/careers/pre-sales-engineer-north-america/
1•nhourcard•8h ago

Seattle City Council votes to ban surveillance pricing in sale of groceries

https://advocacy.consumerreports.org/press_release/seattle-city-council-votes-to-ban-surveillance...
219•ortusdux•6h ago•120 comments

LensVLM-9B by Apple

https://huggingface.co/papers/2605.07019
5•nthypes•15m ago•0 comments

OpenAI GPT–6 Astra breaks Enigma message that has resisted solution since 2005

https://www.cryptocellar.org/bgac/the-mvueh-break.html
718•sohkamyung•1d ago•431 comments

Web-based IBM 1620 emulator and IPL-V from 1963

https://github.com/pkimpel/retro-1620
34•abrax3141•20h ago•7 comments

Transit rewards

https://waymo.com/blog/2026/09/transit-rewards/
243•raybb•17h ago•302 comments

Strands Harness

https://strandsagents.com/blog/introducing-strands-harness/
117•zuckerborg0101•5h ago•86 comments

28% of job postings on company career sites have been open over 90 days

https://unlisted.careers/ghost-jobs/report/2026-09
160•rubatrejo•4h ago•242 comments

What California is learning from solar panels built over irrigation canals

https://www.kqed.org/science/2002033/heres-what-california-is-learning-from-solar-panels-built-ov...
348•Jtsummers•1d ago•676 comments