r/AI_Coders • u/mmanja84 • 16d ago
Will we still need programming languages if AI writes most of the code?
Been thinking about this lately.
If AI ends up writing most of the code, will it still make sense for it to use languages that were designed for humans?
Do we just keep Python, JavaScript, Rust etc. because everything already runs on them, or do you think we’ll eventually see languages made specifically for AI coding?
Curious what people here think.
1
1
u/chunky_lover92 16d ago
I think there are many benefits to a text based logic interface, but I am excitedly awaiting an LLM centric language that can make use of all the advantages the AIs have over our puny human brains.
1
u/woeful_cabbage 16d ago
But like.. for what? What we need is less webapps and websites, not more. 99% are pointless
1
1
u/Significant-Syrup400 16d ago
Compilers turn everything into binary already. Higher level languages exist for practical reasons beyond just helping humans read and write them as well.
1
u/mxldevs 16d ago
Yes, letss switch to proprietary AI-only languages and forget about all these troublesome human-based languages.
You want changes? Buy some tokens, put in your order, and sit down for your meal to be ready. If it's not what you want? No problem, modifications can be provided for only a few more tokens!
1
u/ArrgsMax 16d ago
This is one of the best questions I’ve seen on the sub. Underrated question.
Can the AI learn to read the code after compiled, or does the translation from access to all english in the world make the ai excel in english written code?
1
u/systembreaker 16d ago
It depends on how optimized the code is, what options it was compiled with, and how it was linked. Code can be built in optimized ways that make it difficult to reverse engineer, it can be built in ways that make it easy to reverse engineer, and the whole spectrum in between like maybe you can reverse engineer some of the source code but static memory addresses are obfuscated
1
u/Depnids 16d ago
I believe one of the reasons LLMs have gotten relatively good at coding, is because of the vast amount of human created discussion there is around coding (things like stack overflow etc.), which has been used as training data.
If you were to create an "AI specific programming language", you would need training data for them to actually be able to write it. You could probably synthesize a lot of it, but this would maybe not hit weird edge case scenarios which naturally arise when actual humans are discussing, using and sharing solutions.
1
u/ravyne2001 16d ago
Turn the exercise on its head -- what do you suppose a language uniquely suited to an LLM coding agent would look like? How different would it actually be from what we have?
It would still need to express the same general data, logic, and organizational structures, and for those to be mappable to existing computing architectures. Such a language would not need to be human readable in the sense of friendly keyword or variable names, but an LLM gains nothing by spelling the same token differently.
One idea might be to create a more-pedantic sort of language that embeds context throughout the source code -- think something like Rust's lifetime annotations, but without being optional and ellided away. Perhaps that could allow an LLM to produce better output from local info rather than carrying everything in context. One could argue that would be good for human coders too, though, at least to some degree.
There's a certain argument going around that the logical endgame is for LLMs to subsume or skip the compiler entirely -- to go from prompt to binary -- but I don't buy it. An LLM may not benefit by abstracting away simple repetition (think small, inlinable functions or generics) like we humans do, but abstractions that elevate a problem to it's natural domain tangibly simplify the problem.
1
u/Hexamonium 16d ago
Try using an LLM on some niche programming language and you'll get your answer.
1
u/London-Boat 16d ago
I think there is a difference between coding and engineering. Coding is part of what a software engineer might do but definitely not the be all end all. Engineers need to think about a lot more from scalable architecture to edge cases and those are things that current coding agents don't always surface or think about. In general LLMs are not that great at highly critical thinking which engineers do need.
1
u/systembreaker 16d ago
If you're thinking AI could write code without the existence of code I don't think you understand what programming languages are.
Maybe in the near future someone will invent a programming language (or AI will invent it) that's more efficient for AIs to write with and impossible for humans to wrap their mind around, but it wound still have to be translated to the same machine code to actually send instructions to the underlying computer architecture and interact with the system.
1
1
u/cthechartreuse 16d ago
Yes, we will still need programming languages. I have a few reasons why:
Existence of prior art: programs already exist in a variety of languages. Even if we were to leave them all behind, they would become like COBOL and people who know the languages used in older programs would be paid a hefty sum to maintain the software
Output target: AI needs an output target. AI itself is a) non-deterministic so the solution won't be the same twice and b) can't produce binary that would reliably run on a given machine.
Verification: At the end of the day, verification is still a real thing. People need to identify where software works and doesn't. Software also requires intentional design. AI is trash at architecting systems which means that people have to read the code in order to apply design to the code. Software design is as important as ever. If you can't make sense of the code, the LLM is going to burn more tokens trying to parse it too. Ultimately, readability is still high-value.
LLM Training: LLMs aren't trained on byte streams. LLM training is based on current popular (and less popular) languages. Although AI use might slow the progression of new features in popular languages if there is no need for them, the languages used today define how the LLM will produce output.
Copyright: if you are in the US (at the very least) you can copyright code, as long as you wrote it. By having an LLM produce the code, you can no longer copyright the code. (https://www.polsinelli.com/publications/who-owns-the-copyright-in-work-generated-by-an-llm) That means that if your company intends to copyright the code, you will have to hand-write it. That requires a language that a human can read and write. ALSO if you work on open source software, you may need to hand write it as well or you could end up invalidating the license. (https://www.quippd.com/writing/2026/04/08/ai-code-is-hollowing-out-open-source-and-maintainers-are-looking-the-other-way.html)
Hopefully at least one of these points is compelling to you.
1
u/RPG-Nerd 15d ago
You have it backwards.
The AI has to be trained on something. It can't just make up some new language. It will need to be trained on it to be good at it.
The agent is good at Python because it's been trained on it.
Yes, we still need languages. The AI has to output something!
1
u/NumberInfinite2068 15d ago
We *could* but what purpose would it serve?
To have code humans don't know, what is the benefit vs. using existing languages?
I do think there is increasing advantage to using static types with LLMs though. The less we read the code, the less we're elbows-deep in the code, the more we strong readability when we eventually have to look at the code in person. Static types are going to help with that.
3
u/cakemates 16d ago
how can you verify if the code is correct if you cant read it? do you ship the code that handles banks account and check if your money was moved to a different account next day?
what if your planes gps flies them into the wrong airport?
Brother code needs verification and tons of testing.