Every aspect of software engineering is being taken over by AI. The AI leaders are pushing for the adoption of the technology. Our executives have been pushing it down the D-chain, and our directors have been shoving it down our throats. All you hear is AI: Put AI to work. Put AI into everything we do.
After sleeping on it for several days, I finally decided to give AI a shot. My first step in learning any new technology is deeply criticizing it in order to know its limits before putting it to use. I tend to spend multiple months to years just to understand the technology. I want to be absolutely sure of the direction before pushing the team I lead to adopt it.
My first hostility toward LLMs came from the fact that they were essentially a "language" model. I could not convince myself that spitting out words without reasoning is intelligence. However, to my surprise, LLMs has evolved very well. Frontier labs have been training LLMs with reasoning to do better at coding and math tasks. The newer model benchmarks have proven the success of the process, as they indeed seem to score high on math and agentic engineering. This made me wonder - "Was I wrong all these years?"
The short answer is "yes". LLMs are indeed intelligent. Let me take a step back and try to explain how I convinced myself of that.
Imagine a system that you consider intelligent. It takes your question as input and outputs an answer. Irrespective of what goes on inside such a system (whether an LLM or some other expert system), it needs to be able to "communicate". The language of communication may be formal, like TLA, or informal, like English. As long as the system is able to communicate coherently, it can be considered intelligent. Essentially, I am looking at intelligence as a black box, and any system that is able to express intelligence, using imitation or otherwise, is intelligent. Since LLMs can communicate coherently, they are intelligent.
I admit that not each one of you will be able to align yourself with this reasoning. I, too, don't exactly define this as true intelligence. True intelligence is a combination of knowledge, reasoning and decision-making, alongside a pinch of opinion and ego. A truly intelligent machine would be able to make use of sensory organs - primarily computer vision and microphones - to perceive the world, gain experience (not just knowledge, but experience), frame a purpose, and work toward its fulfillment.
However, the work done by software engineers on a daily basis don't require the applicability of all such aspects of intelligence. For example, a junior software engineer is only focused on reading a ticket description, digging through the code, and authoring a patch to fix the ticket. That only needs knowledge and reasoning. There may be some decision-making, but mostly it is reasoning. Now, the LLMs have mastered reasoning and are also able to communicate that reasoning through language. That is sufficient to get 90% of the software stack automated.
Now that I have somewhat convinced you that LLMs are intelligent and can work well in software engineering, let's look at the economics side of the story. LLMs can be powerful when we supply them with unlimited tokens. Say you are a product manager who wants to set up an entire shopping site like Amazon. You already have the catalog ready in an Excel sheet. Given unlimited tokens, an LLM can help you set up the entire codebase, verify the correctness and integrity, and deploy the system to production. Of course, LLMs are currently not that powerful to make everything possible. But say you are able to hire an L9 engineer; they would be able to write all the required harnesses, including the essential formal verifiers to ensure correctness. They would also be able to provide guidance to make sure the design is scalable and can hold up to the future expectations of the product manager.
Congratulations, you have been able to replace an entire team of 2,000 engineers with LLMs and a handful of engineers to maintain the service.
However, popping the C-suite wet dream, tokens today are limited. We do have a cap on how many tokens can be used. There is a rate limit. The rate limit comes from the fact that tokens are not free, but are created when massive computations are executed by millions of GPUs in data centers. The GPUs consume millions of gallons of freshwater and millions of kWh of electricity per day. As physical resources are limited, so are the tokens. That's the scarcity part of the AI business.
Enter capitalism! Since economics limit the things we can do with AI (at least today), software engineers will likely keep their jobs (note that, I am terrible at making predictions). Each team will get a flexible token budget that they can spend over a certain time (say, a quarter). It will be flexible because pooling would be required in case some team needs to build something faster. Jobs will likely evolve and become quite different. Most junior engineers will only be writing verifiers and test cases. Seniors will look into aspects of system design to make sure LLMs didn't get things wrong (their role as reviewers will continue). Principals would still be writing PRDs, but those PRDs will be more formal so they can be fed into LLMs to generate the system in an agentic engineering world. All infrastructure and systems will be AI-first. All workflows will be agentic. The development workflow will also be agentic.
Note that unlimited software doesn't mean unlimited demand for it. The demand for software may not meet the overwhelming supply - and it may never, given that LLMs are more democratizing, empowering businesses to build their own homegrown software instead of signing enterprise contracts. At least, I do see potential for the democratization of tools that are important in daily life, such as Word, Excel, and your favorite video editing software.
What will be left is the ownership of hardware. For example, cloud storage will still be important, and businesses will pay to purchase those services. Cloud computing will continue to be important, as not all businesses will be able to set up their own data centers. Most importantly, those who own vast amounts of data will be important because that is what will empower the intelligence of LLMs in the future.
As the demand side won't pick up fast enough, software engineers will be in less demand. The insane salaries that we see today will see a dip. As that happens, students will diverge into alternative careers. Hopefully, there will be new alternative career options that were previously not possible, which LLMs may unlock.
Irrespective of what happens in the future, I have admitted that the world of software engineering is going to change rapidly. It is strange that the technology software created is primarily being used to improve software engineering itself. I assume that is where the money lies, and hence the interest of all CEOs. A lot is going to change - for better or worse!
Comments
Post a Comment
Please keep your comment respectful!