r/ProgrammingLanguages • u/SearchFair3888 • May 26 '26
Discussion do we need new programming language in this AI era?
Hi all,
I was wondering if this AI era now needs more programming languages. The question sounds weird. I made one for my own work and it is working in production. And I can see many more languages coming, a few hit at least popularity among developers. But does the market need more AI or an AI-native solution, does new programming language creation stop by having Go and Rust for the near future, at least for the next 10 years?
When i created my own I was wondering why even making this, but I just keep making it just because I want to solve my own problem.
Programming language success chance even with a specific niche is hard, still coming more
Any thoughts?
14
u/Inconstant_Moo 🧿 Pipefish May 26 '26
Well, we need mine, obviously. Otherwise I'd have wasted my time, which is unthinkable. (Even by really big ithebergth.)
We don't know what "the AI era" is yet, we won't until we're certain that it's plateaued and that we're going to make little more progress. Trying to design a language for that future is impossible because we don't know the target. Trying to design a language for where we are now is pointless because it'll take you five years to get the language production-ready and by then the target will have moved.
People, on the other hand, are going to stay much the same over the next few millennia, so designing for them is much easier. Also I like them better.
13
u/rwilcox May 26 '26
Do we need one? I’m of the camp that we always need exploration and pushing the industry forward, or even just people having fun.
So we need one because of AI? No, and I think AI will hold back language research by a decade at least: because it uses only what’s primarily in its training data, new languages have to be better than current languages and more efficient than being written by hand, than engineers using another language with an LLM. (Because even if I like writing Foobar, if I could generate half this program in Typescript faster, why would I?)
This last part is a hard challenge. At least for a the first five to ten years when the
open source codetraining data for your language is small.17
u/amarao_san May 26 '26
We're desperately in need for the more precise programming language. The larger set of nonsensical programs to be rejected by the compiler, the higher chances that compiled AI-generated program to be non-nonsensical.
3
u/coderpants May 26 '26
There's a question of trust that the AI is implementing what is desired - and the programming language certainly helps with human review. For example I've seen some truly diabolical Typescript code generated.
Languages such as Java and Go are safe and boring, and this can be a good thing for the AI era. Depending on who you talk to, AI will keep on getting smarter, or has hit a plateau. Under the former model, maybe we'll review less code, which will make programming language selection less important.
While I am writing my own language, it's purely for my own enjoyment - I think anyone trying to create the next great language has got quite a hill to climb.
2
u/RedCrafter_LP May 26 '26
Especially in the times of Ai we need simple but expressive languages that allow the brain dead vibe coders to write at least some precise and correct code.
20
u/Business-Decision719 May 26 '26 edited May 26 '26
As a general purpose, mainstream development language? Most likely not. The idea of an "AI programming language" has been around before. It's called a fifth generation programming language. AI hype tends to generate these near the end of the hype cycle, just before an AI winter.
In the early 70s, it was symbolic AI, and the result was Prolog. The idea was you wouldn't program the machine with direct instruction statements anymore. Instead, you would feed in general facts about your problem domain, in a machine readable notation, and a "reasoning engine" would chew through the logical consequences and cough up whatever answer you were looking for. At about the same time, C went "back to basics" as almost a more readable PDP assembly. The AI winter happened. C turned out to be the future of programing. Most modern popular languages are at least influenced by it. Prolog, not so much.
In the 80s, people were ready to try again, and a language called Miranda was developed. Even into the AI winter of around 1990, this continued to evolve and the result is a language you might actually be expected to have heard of: Haskell. Purely functional. Declarative paradigm, immutable data, abstract logical relationships, that a machine could theoretically reason through on its own. At about the same time, a fellow named Guido van Rossum was working at an institute in the Netherlands where they were developing a new beginner friendly, largely imperative language they called ABC. By the early 90s, he had created Python. Haskell did influence later languages such as Rust. Python became the new BASIC, ubiquitous and learned early.
If you try to define an AI language now, maybe to make "vibe coding" more concise and precise, then it will be declared the future of programming... for a couple of years. The fact that you're even thinking of an AI programming language suggests that LLMs as we know them have just about reached their limit and those will start being considered a failed experiment during the years around 2030. A language based on those solving problems for us, rather than on extensive programmer control over algorithmic details, will become an academic curiosity with niche practical applications.
That doesn't mean you can't or shouldn't make it. It could be the new Haskell that eventually offers lessons to more mainstream languages. But a mainstream language itself, it will not be.
1
u/renozyx May 26 '26
I've heard claims that Rust and Gleam are good for AI-generation. Both because of their strong typing and Gleam due to its "FP"ness and GC which help refactoring.
That said, it will be very difficult to distinguish language effects (semantic, syntax) and codebase training effect: a good language with poor codebases (because used mostly by beginners for example) will most likely have the AI generate subpar programs..
1
u/JeffB1517 May 26 '26
Yes. We are going to need AI primitives as far as data and statistical models with common access. For example we want to be able to have string, semantic decomposition of string, language independent string have natural simple transformations between them. I'd go as far as to say automatic casting (Perl like). I think similarly, for data we are going to want database --> Vectorized data chunk --> retrieved prioritized dataset (RAG) be natural.
I think DSLs which make these operations simple, effective, quick... will be a tremendous gain.
1
u/zangimmortal May 27 '26
I think "do we need new languages" is the wrong cut of the question. AI has changed what a language is for.
Pre-LLM, a big chunk of a language's value was ergonomics, like how fast a human could express an idea in it. AI is rapidly driving the cost of writing code toward zero. But it's done nothing for the cost of running code, reading code you didn't write, or trusting that generated code is correct. So the value of a language is shifting from "nice to type" toward "cheap to run, easy to verify, hard to get wrong."
That cuts two ways for new languages:
So my bet is we don't need new syntax; we need familiar syntax with better guts, like stronger types, better verifiability, native compilation. The "more but more precise, purpose-built" intuition feels right to me too, but I'd frame it as: a few high-assurance general languages + lots of narrow DSLs, with AI as the glue between them.
(Disclosure: I work on a compiler that's basically this bet, keep TS syntax, change what it compiles to, so I'm not unbiased. But I'd have this opinion anyway.)
Genuine question back to the thread: if AI fluency is now a property of a language, does that permanently entrench Python/TS, or does it just raise the bar for what a new language has to be worth?
3
u/criloz tagkyon May 26 '26
In building one that, in theory, allows you to program as fast as a LLM, deterministically, with a lot more control and a lot cheaper, the language produces code that can rewrite itself based on the context, so the same code will work with async environments, threads, distributed, web or native platforms. the output instead of a program is a set of programs that preserve your initial intent.
I don't know if I can achieve it, but I think theoretically it is possible.
In a theoretical program like this, building a complex program basically consists of importing from libraries and combining them using high level constructs like programs, servers, and frontends, etc.
I honestly think that there is still a lot to explore and discover in the programming language realm.
3
u/useerup ting language May 26 '26
Yes we need languages at higher abstraction level. Both humans and AI agents have a limited context window. The higher abstraction level AI agents can work on and communicate with humans on, the more can be inside the "context window".
While AIs can produce programs, for a great number of applications we still also want to formulate the problem in a formalism (i.e. programming language). LLMs face the same problem as humans: Our natural language is often imprecise, ambiguous and lengthy.
Compare to contracts (the legal kind). Contracts are often the result of lengthy negotiations (performed using natural language) while the contracts are often phrased in a legalistic subset of human language, using precise legal terms etc to achieve something that is formal, unambiguous and as concise as possible
2
u/L8_4_Dinner (Ⓧ Ecstasy/XVM) May 26 '26
Obviously, I must be absolutely wrong, and therefore an idiot, because my opinion seems to differ from everyone here:
Q: do we need new programming language in this AI era?
A: No. If anything, we could easily get by now with even fewer languages. LLMs seem to have absolutely no issues pretending to fully understand every language out there, including those that there is insufficient training data for. In other words, they are far more competent than I am at every language that I have not used, and far more confident (perhaps unjustified confidence 🤣) than I am at every language that I do know well.
And while that could be taken as an insult against LLMs, the truth is that they are pretty amazing language tools already, and inventing a new language to help LLMs seems (1) pointless and (2) if anything, counter-productive -- because of the lack of existing, pre-LLM training data!
1
u/TheRealUprightMan 10d ago
The AI has to program in something, so yes, programming languages are still necessary.
Your custom built language isn't going to be very useful since not a single model anywhere has been trained on it.
1
u/echoes808 May 26 '26
In this space I think the interesting projects are those related to low-level programming, IR, DSL tasks, see for example Calyx.
In context of LLM, my experience is that AI shines when the input and output is in natural languages.
1
u/Mean-Decision-3502 DQ May 26 '26
I think the good AI-generated SW should have two components:
Important that both must be maintained parallel. The 1. must be always adjusted refined, you can ask the AI to re-adjust (but only on request).
The 2. must be as human readable as possible and short. So the humans can actually verify what the AI did. The error checking and language strictness is a good question. Maybe it is not important that much for the AI. It is important for humans, if they going to write parts by hand.
1
u/First-Review5604 May 26 '26
Creating a programming language is challenging, but if it solves a real pain point that Go or Rust ignore, the market always has room for niche "native solutions." The emergence of new languages won't stop, because cs evolves too fast for a handful of tools to be the final answer to everything. If yours already works in production, you've already proven that the value exists.
1
u/Aggressive-Fix241 May 27 '26
The "just because I want to solve my own problem" reasoning is honestly how a lot of interesting stuff starts. A friend of mine built a small DSL for configuring game AI behaviors a few years back — never expected anyone else to use it, but it ended up getting adopted by a couple other teams because the problem was more common than he thought.
1
u/SuspiciousEbb4734 May 27 '26
I don’t think new programming languages will stop appearing just because we already have Go, Rust, Python, etc. New languages usually appear because someone has a specific problem that current tools do not solve well enough, and that still happens in the AI era.
That said, I’m not sure the market needs “more languages” in a general sense. What it needs are better abstractions. Sometimes those abstractions can be libraries, frameworks, DSLs, or tools instead of a full new language.
For AI specifically, I can see room for more domain-specific languages around workflows, agents, data pipelines, model optimization, GPU programming, verification, and reproducibility. But for a general-purpose language, adoption is extremely hard because the ecosystem matters as much as the language itself.
1
u/brucejbell sard May 27 '26 edited May 27 '26
What attributes should an AI programming language have?
Most wannabe AI programming languages I've seen want to be human-unreadable in some way (e.g. use de Brujin numbering instead of variable names), on the theory that humans don't need to read the code any more. Aside from being gravely mistaken, I can't recall what they're supposed to gain in exchange for this unreadability.
If you can somehow make your language super human-readable, possibly in exchange for being more difficult to write, that might be an advantage in the AI era. Pervasive use of mathematical Unicode, like APL but in reverse? But here we're talking notation design, which has two problems: it's dead hard, and then you need to persuade your users to learn your notation.
1
u/Izex_ May 28 '26
I also think new programming languages will keep appearing for the same reason they always have: people trying to solve specific problems they encounter themselves, just as you said.
I don’t think general-purpose languages like Python will be enough for every AI-related domain forever. As AI systems become more specialized, we’ll probably see more domain-specific languages and runtimes appear around them.
At the same time, I think AI also shrinks the practical space for some languages. Since most models are heavily trained on a relatively small set of popular languages, ecosystems with less data and community activity may become even harder to adopt and maintain.
So AI may simultaneously encourage the creation of new languages while also concentrating attention around a few dominant ones.
1
u/Few_Mistake8026 May 30 '26
In the so-called AI era (though I personally don’t think we’re actually there yet), the problem with generative LLMs is that they’re really bad at handling few-shot programming languages.
So while creators don’t really care, for the vast majority of users, their thought process goes something like:
“Cool, this language looks interesting, but when I ask LLM to translate from my usual language, the code won’t even run.”
Maybe it can only be solved when there's less supervised part of LLM training.
1
u/iMandy1005 May 31 '26
Eu acho que novas linguagens de programação vão continuar surgindo, mesmo com o crescimento da IA. Sinto que as linguagens mais novas acabam surgindo pensando em resolver problemas específicos e, se for uma questão mais geral, ela acaba se popularizando. Mas no fim a gente sabe que a computação está sempre mudando e novas necessidades aparecem o tempo todo. Pensando também no avanço da computação quântica, a tendência é que problemas que hoje a gente considera inviáveis acabem tendo soluções viáveis no futuro. Isso pode acabar criando novas demandas e, consequentemente, novas linguagens.
Na minha visão, a IA não elimina a necessidade de novas linguagens, ela pode até criar novas demandas. Talvez surjam linguagens mais focadas em integração com IA, paralelismo ou outros problemas que ainda não são tratados da melhor forma pelas linguagens atuais. Por isso, não acredito que a criação de novas linguagens vá parar nos próximos 10 anos. Talvez elas não se tornem tão populares quanto as já consolidadas, mas sempre vai acabar surgindo algo novo.
1
u/Brave-Ad-8201 May 31 '26
Acho que não é bem que “precisamos” de novas linguagens só porque existe IA. Muitas vezes, o que precisamos é de melhores ferramentas, bibliotecas e integração com linguagens que já existem.
Mas novas linguagens continuam fazendo sentido quando elas resolvem um problema específico melhor do que as atuais. Rust não surgiu só porque faltava mais uma linguagem, mas porque atacava um problema real de segurança de memória e concorrência. Se uma linguagem nova para IA trouxer uma abstração realmente melhor para agentes, modelos, dados, paralelismo ou segurança, ela pode ter espaço.
1
u/kenjiArthur Jun 01 '26 edited Jun 01 '26
Hello! Personally, I don’t think AI means we need to stop creating new programming languages. If anything, I think it may even create new reasons to experiment with language design.
But I also don’t think a new language should exist only because of the AI hype. A language is more convincing when it solves a real problem better than existing tools, even if the problem is small or somewhat niche. Go and Rust are great, but they do not solve every possible programming problem, right? I really think there is still space for languages focused on specific scenarios, such as data workflows, verification, education, scripting, or specific production needs...
So, for me, new languages can still make sense in the AI era, but they probably need a clear niche, and making one because you had a real problem to solve sounds like one of the best reasons to do it!
1
u/oj93-rd Jul 28 '26
Perhaps what we need is not new programming languages... but new compiler + linter paradigms, giving error messages intended for AI eyes and not our own. I'm experimenting with this atm!
0
u/[deleted] May 26 '26
[removed] — view removed comment