AstonJ

AstonJ

In an age of AI, what can programming languages do to survive/compete?

Inspired by @jdiago’s post containing this slide:

I thought it would be interesting discussing what independent languages like Elixir, or those that are not created by FAANG (or whatever the AI equivalent might be) will be able to compete/survive/stay relevant, assuming, for the purpose of this thread, that the AI industry ends up being like pretty much every other industry in a capitalist world:

  • In the beginning there is ‘healthy’ competition (where most languages will probably be treated well as the companies will be competing for customers/users).
  • Over time smaller companies are acquired/swallowed up/go out of business (some languages may begin to get neglected or dropped at this stage).
  • Eventually you end up with a small handful of companies who essentially control the market and more or less dictate what you’ll use (based on what we’ve seen from big tech already, probably their own or very closely affiliated languages).

I realise there could be lots of different outcomes but for the purpose of this specific thread (and in the interest of being prudent) let’s assume the above pans out - what can programming languages do to stay relevant/survive?

#ai

Most Liked

sodapopcan

sodapopcan

I’ve made this joke a couple of times (hopefully not on the forum yet) but I like to imagine a future where AI slop has gotten out of hand and someone says, “Maybe we should come up with some kind of deterministic language to program computers with and we can all learn it—like a “programming language” if you will.”

DaAnalyst

DaAnalyst

I’m more in favor of thinking about what different approach we’ll need to organize and supply the requirements and solutions to the AI assuming they manage to pull it off beyond the surface.

The problem “vibecoding” faces is not a translation from ideas/requirements to code but from the problem domain to the solution domain. Who’s going do the work in-between if not humans? When a client or a business analyst unload their requirements onto developers, it’s a two way communication from then on, and not just a multiple-choice question. It is about finding the problem behind a problem that saves the day, not translating a solution into code.

Given the way the LLMs currently work, I simply don’t find it feasible for them to pattern match their way out of such situations, no matter how large the “model”.

And don’t get me wrong, I would love so much for the “AI” to be way smarter and help me more than it’s currently capable of. The bitter taste I’m left with after spending a considerable time hoping it will get me somewhere, and then resorting back to my own human intelligence feels so bad, like a complete waste of time. After a couple of such wasteful disappointments it takes me time to dare try again.

AstonJ

AstonJ

It’s just one possible scenario based on what’s happened in other industries - a few companies end up controlling the market, and from what we’ve seen of big tech, they sure do love their own languages/frameworks; if they control the tools they can ultimately control or influence the competition to some degree or another.

Going back to what independent languages can do, Elixir (and languages like Ruby) already have a head start in this imo - by being intuitive, natural, easy to use, and beautiful.

  • If people enjoy programming in a certain language then this could be one way to remove reliance on AI and AI controlling firms.

  • If a programming language is easy to use (like being intuitive and natural) then again, there could be less of a reliance on advanced AI/firms controlling them.

  • If a programming language brings you joy, whether from the process or by just being beautiful, again, there could be less reason to want to use AI

In summary: in all this hype and excitement around AI focusing on things that might draw people into using the language directly (or with a very light sprinkle of AI) might be a real lifeline/advantage :icon_biggrin:

AstonJ

AstonJ

It’s definitely something worth keeping in mind - what will happen if AI begin to create their own super optimised languages that will be difficult for us to understand - will we need some that humans can still use?

The funny thing is languages that are very popular right now may actually be the first to ‘die’/stop being used by humans - when AI gets to a certain acceptable level, who’s going to want to program in Javascript? (Not me! :lol:)

rvirding

rvirding

Creator of Erlang

Lisp rules! :icon_biggrin:

Where Next?

Popular in Dev Env & Tools Top

nickurban
Cursor Cloud Agents are quite good at writing Elixir now, but only with a custom configuration. It took me a while to get this working p...
New
DaAnalyst
Exactly. A bit off topic, but I think the issue with the machines is they don’t bear any consequences. And even if they did one day, the...
New
DaAnalyst
Note: Not a strictly Elixir question but relates to us as well. A year or so ago I asked Grok (or ChatGPT, can’t remember) what would ha...
New
AstonJ
What are you using for software dev? Can you share what you like/dislike about it? Would you recommend it to others? Related thread: Ho...
New
Cervajz
Code at the speed of thought Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter. It’s also open...
New
renews
Hello everyone, today I created a simple Neovim plugin to check for new versions of packages used in the project, not sure if it is usefu...
New
SyntaxSorcerer
I found Elixir after a friend recommended looking into it for developing a multi-agent orchestration and task management system. Soon aft...
New
AstonJ
I wasn’t aware ZSH has plugins until @Samjowen mentioned one in the Share an Elixir or dev-env tip a day thread! Oh My Zsh comes bundle...
New
AstonJ
Do we have any frequent travellers or digital nomads here? If so where have you been and do you have any tips to share? (Particularly in...
New
dogweather
First, the downsides. I periodically fire the AI. :smiling_face_with_tear: ^^ This was earlier today in Cursor AI, working with “Clau...
New

Other popular topics Top

vonH
In asking this question I am more interested about the expressiveness of the language itself and less concerned about the availability of...
New
sergio
I couldn’t find any guides that worked well with Phoenix 1.6.0 and esbuild. I hope this helps people test the waters and eases you into t...
New
jononomo
I am trying to figure out how Mix knows whether the environment is test, dev, or prod -- where is this set? Thanks.
New
fayddelight
I tried installing elixir 1.11.2 erlang 23.3.4 via asdf in my zsh shell. Enabled the versions locally and globally. When I list them ...
New
vonH
When I run the Plug and I recompile I wind up having to use Ctrl C to quit iex and start again. Witht the help of rlwrap I can use the cu...
New
johnnyicon
Hi all, I've just started learning Elixir and Phoenix Framework, so please pardon my n00bness at this stage. I'm trying to use Postg...
New
beno
I will often find my self writing things similar to: case some_value do nil -> something() "" -> something() _ -> someth...
New
belgoros
I’m not a pro in using Regex and can’t figure out why the following behaviour happens, especially if we take into account the difference ...
New
Qqwy
Original source of discussion: This topic on the Pragmatic Programmers' Functional Web Development with Elixir, OTP, and Phoenix forum. ...
New
jay1
Why is it that the mnesia database isn’t the most preferred database for use in Elixir/Phoenix?
New

We're in Beta

About us Mission Statement