The time might come when the ai just writes things like http request parsers and crypto libraries on the fly. And it will be somewhat normal
The time might come when the ai just writes things like http request parsers and crypto libraries on the fly. And it will be somewhat normal
But why? Even if you could have an AI do that it’s, if anything, a waste of cpu cycles. If you have a battle tested library that works and has been tested for trillions of request cycles why would you even want to write a new one that needs testing and maintenance? No matter how cheap code gen gets it doesn’t make sense. For something like a UI library, sure build something specific to your needs.
Libraries are really built for human beings, not super intelligent machines. ORMs are built because I don’t like to and can’t write complex sql with every edge case.
Same with a lot of software, software libraries are designed to work with the deficiencies of the human mind.
There’s no reason to think ai needs these libraries in the same way
Even in your scenario LLMs could write super optimized libraries (not intended by for humans) to do common tasks and share the code between them.
I’m not saying the future can’t get to an ai just producing everything. I’m saying it’s just plain inefficient to keep solving the same problem over and over.
I agree with part of this (see my comment above). That said our limitations were also how we produced mathematics. Categorizing world into fixed concepts is valuable i'd say.
This seems like today's version of "I could write Facebook in a weekend."
What are the incentives for doing that? What are the incentives for everyone else to move?
So if proven things exist for basics, what's the incentive to not use them? If everyone decides they're too heavy, they could make and publish new libraries and tools would pick those up. And since they're old, the feature-set is probably more nuanced than you expect. YAGNI is a motto for doing less to avoid creating code debt, but writing more net new code to avoid using a stable and proven library doesn't fit that.
Importing a library for everything will become a dated concept. Similar to the idea that object relational mappers might go away if the ai can just write ultra complicated hyper efficient sql for every query
Why does the AI need SQL queries? Who needs that? It will just write its own ACID-compliant database with its own language, and while it's at it, reinvent the operating system as well. It's turtles all the way down.
It’s actually not a ridiculous concept, but I think in some ways code will go away, and the agent itself will do what the code used to do. Software of the future will be far more dynamic and on the fly. We won’t have these rigid structures
Why does the AI need hardware/chips? Why does the AI need the universe to exist? Why does the AI need math/logic to exist?
Using these preexisting will all become outdated. You will look like primitive cavemen if your agents don't build these from scratch every time you build $NEXT_BIG_THING.
Even local LLMs will be able to build these from scratch by end of 2026.
Yeah I actually think the very concept of software will see agents affect out. Agents will do what you used to code. And it will be automatic
ORMs have largely been fading away for a while because there are real wins of not using them.
Hyper-optimized HTTP request/response parsing? Yawn. Far less interesting.
AFAICT, the advantages of keeping context tight and focused have not gone away. So there would neeed to be pretty interesting advantages to not just doing the easy thing.
Build times too. I kinda doubt you're setting up strictly-modularized and tightly-controlled bazel builds for all your stuff to avoid extra recompilation... so why are we overcomplicating the easy stuff? Just because "it will probably function just as well"?
"leftpad"-level library inanity? Sure, even less need than before (there was never much). Substantial libraries? What's the point?
Hell, some of the most-used heavily-AI-coded software is going the opposite direction and jumping through hoops to keep using web libraries for UI even though they're terminal apps.
If AI makes the per line cost of producing software cheaper but you still need an expensive human in the loop then the per line cost is merely cheap not free or at the cost of electricity.
Given the choice between
A) having one AI produce a library and having 1000 produce code using that library which comes with tests human in the loop vetting documentation and examples which drastically increase the chance of the 1000 AIs doing it correctly
B) Having 1001 produce the same functionality provided by the library probably on average worse and requiring more expensive hand holding
What in that benefit of B? You might have slightly higher specificity to your use case but its more likely that the only increased specificity is shit you didn't realize you needed yet and will have to prompt and guide the AI to produce.
I fail to see how AI would obviate the need to modularize and re-use code.
This take is just an intermediary take until ai takes over software engineering. In the same way, eventually self driving cars will make human drivers look dangerous
I think your thought process is not taking into account what a super logical ai can do, and how effortlessly it could generate some of this code.
> effortlessly
Real question: does your world model suppose super exponential gains in intelligence and efficiency?
So that's what 10x means - 10 times the code because your app has no dependencies
Wh … why would we want that?
Why would you not?
Libraries are more well tested. Unless you "regurgitate code in a library" as "not importing any libraries".
What value is there in tested code when you have the option of superlative, flawless code?
How do you determine flawlessness? How you even approximate a guarantee of it? To what specification is flawlessness judged, and can you precisely and completely relay that spec to your friendly local robot more efficiently than it can vendor / import existing libraries?
It’ll just spit the code out. I vibe coded some with cookie handling the other day that worked. Should I have done it? Nope. But the ai did it and I allowed it
The concept of using a library for everything will become outdated
What is the advantage of coding something from scratch vs importing a well tested library?
If the LLM writes better code (and it will) then its code should be favored over a library.
People aren’t mentally prepared for the LLMs spitting out flawless code
Because it’s not a forgone conclusion that it’s going to happen in our lifetime.
The value of a library is not just that it does a thing you want, but that it doesn’t do all the things you’d prefer it didn’t.
It’s easy to write a cookie parser for a simple case; clearly your robot was able to hand you one for millidollars. How confident are you that you’ve exhaustively specified the exact subset of situations your code is going to encounter, so the missing functionality doesn’t matter? How confident are you that its implementation doesn’t blow up under duress? How many tokens do you want to commit to confirming that (reasoning, test, pick your poison)?
My true opinion is that your questions posed here, may become irrelevant in the face of super intelligence
We should probably not be making decisions based on the assumption that super intelligence is coming.
If it does come, nothing we do now really matters. If it doesn’t come and we cash a bunch of checks assuming it will, we are screwed.
I mean ASI could just generate the pixels of a webpage at 60hz. And who needs cookies if ASI knows who you are after seeing half a frame of the dust on your wall, and then knows all the pixels and all the clicks that have transpired across all your interactions with its surfaces. And who needs webpages when ASI can conjure anything on a screen and its robots and drones can deliver any earthly desire at the cost of its inputs. That is if we’re not all made into paper clips or dead fighting for control of the ASML guild at that point.
I say all that mostly in jest, but to take your point somewhat seriously: the most accurate thing you’ve said is that no one is ready for super intelligence. What a great and terrible paroxysm it would be.
Either you didn't need a library for that or you could have vibe coded it using the library even easier.
It read the library and created a custom implementation for my use case. The implementation was interoperable with a popular nextjs with library. It was a hack sure, but it also took me three minutes
Which is the reverse of how humans design things, layers, modules. LLMs act as generalized compilers. Impressive but at the same time you end up with a static-like bunch of files instead of a system of parts (that said I'm not a great user of llms so maybe people managed to produce proto-frameworks with them, or maybe that will be the next phase.. module-oriented llm training).
I was assured manufacturing was dead because we'd all be 3D printing everything we need in our garages.