Hacker Newsnew | past | comments | ask | show | jobs | submit | samrolken's commentslogin

Claude Code does a lot regarding optimizing context usage, tool output, sub-agent interactions, context compaction, and stuff like that. I don't imagine OpenCode has the same financial incentive to decrease the token cost Anthropic takes on under the subscriptions.


Claude Code does a lot of work in optimizing context usage, how much output is included by tools and how that's done, and when to compact. This very well may make the cost of providing the subscription lower to Anthropic when Claude Code is used. It's well within the realm of possibility if not likelihood that other tools don't have the same incentive to optimize the buffet usage.

Not sure where that goes in the analogies here but maybe something about smaller plates.


Wow, thanks everyone. First HN post ever and it’s this intentionally terrible experiment that I thought was the dumbest weekend project I ever did, and it hit the front page. Perfect.

I’ve been reading through all the comments and the range of responses is really great and I'm so thankful for everyone to take the time to comment... from from “this is completely impractical” to “but what if we cached the generated code?” to “why would anyone want non-deterministic behavior?” All valid! Though I think some folks are critiquing this as if I was trying to build something production-ready, when really I was trying to build something that would break in instructive ways.

Like, the whole point was to eliminate ALL the normal architectural layers... routes, controllers, business logic, everything, and see what happens. What happens is: it’s slow, expensive, and inconsistent. But it also works, which is the weird part. The LLM designed reasonable database schemas on first request, generated working forms from nothing but URL paths, returned proper JSON from API endpoints. It just took forever to do it. I kept the implementation pure on purpose because I wanted to see the raw capabilities and limitations without any optimizations hiding the problems.

And honestly? I came away thinking this is closer to viable than it should be. Not viable TODAY. Today it’s ridiculous. But the trajectory is interesting. I think we’re going to look back at this moment and realize we were closer to a real shift than we thought. Or maybe not! Maybe code wins forever. Either way, it was a fun weekend. If anyone wants to discuss this or work on projects that respond faster than 30 seconds per request, I’m available for full stack staff engineer or tech co-founder work: [email protected] or x.com/samrolken


This was an unserious experiment meant to illustrate the gap and bottlenecks that are still there. I agree that there's a lot that could be done to optimize this kind of approach. But even if you did, I'm not sure the results would be viable and I'm pretty sure classic coding (with LLM assistance and all) would still outperform such a product.


I found it thought provoking and interesting. Thanks for sharing.


You need to do more unserious experments. This one is perhaps the best stupid idea ive seen.

Maybe the browser should learn to talk back.

You could store the pages in the database and periodically generate a new version based on the current set of pages and the share of traffic they enjoy. You would get something that evolves and stabilizes in some niche. Have an innitial prompt like; "dinosaurs!" Then sit back and see the magic unfold.


Most of today’s top models do a decent job with assembly language!


As an unserious experiment, I deliberately left this undefined for max hallucinations chaos. But in practice you could easily add the schemata for stuff in the application-defining prompt. Not that I’m saying that makes this approach any more practical…


No, I wouldn’t say that my hypothesis is that non-deterministic behavior is good. It’s an undesirable side effect and illustrates the gap we have between now and the coming post-code world.


AI wouldn't be intelligent though if it was deterministic. It would just be information retrieval


It already is "just" information retrieval, just with stochastic threads refining the geometry of the information.


Haha u mean it isn't AGI? /s


Exactly. It even includes built-in prompt injection as a "feedback form".


I thought about doing that, or having the LLM create and save HTML components, but for this particular experiment I wanted to keep it as pure and unfiltered as possible.


As soon as they put a persistent Salesforce brand banner across the top which did nothing but waste space and put that ugly logo in our face every day, my team started our transition off Heroku pretty much right away.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: