brendon9x

brendon9x

Elixir is the productivity language of the Agentic era

I’m CTO of a scale-up called Zappi and have switched the company from Ruby to Elixir, meaning all new backend services are now Elixir. I had nudged a few teams to try it over the last few years, and all those projects have been successful. But I had held off making it a requirement because Elixir has a ramp up time that can be hard to accept under the pressure of urgent delivery. But I think AI changes that.

The point of this post is to articulate a feeling of Elixir being at an inflection point in terms of business value, and LLMs are a big part of it. Here’s why:

  • Syntactic quirks are much less of a problem when you’re pairing with an agent. Code readability is now much more important than knowing when to use keyword lists, maps or structs.
  • Old ideological battlegrounds like Phoenix Contexts fade into the background because you can breeze past that. Again, readability trumps the issue of having to make hundreds of decisions (decision fatigue) that are more stylistic at the early stages.
  • Claude is stupidly good at Elixir – arguably better than any other language (see Dashbit blog post).
  • The type system, formatting and warnings (or just mix precommit) give good quality feedback to the LLM allowing an agent to quickly recover – this will just get better. But the type system isn’t a gargantuan puzzle like it is in Rust – a lovely balance between quick to create and quick to fail.
  • I think (my gut) that the functional/immutable combo lends the LLMs to better default architecture (less slop).

Obviously, productivity in all languages is increased by Claude and friends. But I don’t think the benefits are equal. I think code writing fluency is now less important than code reading fluency (Ruby is quick to write, harder to read because of “where does this come from” etc). Go is verbose to read (to me), etc.

In the Dashbit blog post, José refers to “local reasoning” as a key hypothesis to how LLMs are able to create quality Elixir solutions. But the “local reasoning” argument applies to humans too, and I feel as the role of “judgement” becomes ever more important with AI, Elixir becomes ever more compelling.

Finally to the main point (and with apologies): I think the Elixir value prop has always been a bit hard for me to articulate to the average developer: what does “let it crash” mean to someone who hasn’t read details about OTP? Is it the best tool for ML or should we use Python? Liveview or React + REST?

But for me, the value proposition of Elixir is clear: Elixir is the productivity language of this new era. Choose it if you want to deliver fast and reliably.

Yes, there is resilience, concurrency, processes, types, Liveview, the BEAM, etc. Those are the common talking points (and real advantages), but I think there is an opportunity to reframe Elixir more simply in terms of productivity. It is a language in which a single engineer can deliver an extraordinary amount of value in an afternoon.

It is a productivity language for the Agentic era – easy for LLMs to write, easy for humans to read.

This is why I am now comfortable going all in on this language at Zappi. Optimising for productivity is a defensible no-brainer, and the productivity is real.

I hope this framing is useful to anyone considering Elixir!

Most Liked

DaAnalyst

DaAnalyst

Can’t speak for the rest, but I believe that for many of us Elixir has also been the productivity language of the pre-agentic era. Personally, it took me like a week when I first laid my eyes on it to know there was no going back.

14
Post #3
yoavgeva

yoavgeva

I would have loved to use Elixir 5-7 years ago, but the companies I worked for, would not have used this, AI is the game changer for me, LLM LOVE Elixir!.

This articles and researches changed it for me

I am coming from java,golang,c++,javascript,python development worlds, because it’s the mainstream and you can get jobs for that in the age before of LLM, LLM I believe will change this, because the learning curve is lower, it’s much easier to add new libraries that exist in other langs/framework, meaning the world of programming is changing, instead of using the mainstream like before, AI-Human is the future and in this Elixir is the frontrunner, because all of Elixir developer friendly features, if you ask me new startups, new projects, will start consider Elixir more.

In my projects (Ruby, java, golang) in my company I see so much difference how LLM work with each one, in Ruby it feel so much easier, I do same tasks it took me 3-2 days in 20 minutes (I am talking about bugs/development/tests/debugging/etc.), in java/golang languages, it can take me 3-6 hours depends on feature, because the tools there are not the same level for developers as Ruby, the syntax and the runtime is tricker for LLM to understand, in my Elixir projects (private) it seem even easier for LLM to understand than even ruby, which is for me the killer reason. If you ask me the languagues of the future need to understand this issues. Elixir is the frontrunner in this.

dimitarvp

dimitarvp

Same. It was sometime in April 2016 so it’s almost 10 years ago now.

Everything just clicked. And I realized I’ve been doing programming very wrong up to that point. It was professionally and personally transformative.

Where Next?

Popular in AI / LLMs Top

DaAnalyst
Seriously, what do you do while Claude (or whatever you use) is doing its thing?
New
mayel
You describe a function. An LLM hallucinates it. The BEAM compiles and runs it live in your runtime with no restart, no compile step, no ...
#ai
New
AstonJ
After reading the below in another thread… It got me wondering how many firms are actually using or encouraging their developers to use...
New
garrison
For those who are not aware, “AI agents” are, for the most part, commodity LLMs which are given access to “tools” and prompted to complet...
#ai
New
New
AstonJ
What kind of impact do you think AI will have on programming/tech jobs? Have you or anyone you know been impacted directly? Does it conce...
New
borag
I shared an Elixir Architect skill for Claude Code which proves that Elixir is the best LLM friendly language (@josevalim ) https://git...
New
asianfilm
For those who haven’t seen it, here is a research paper from August that found that LLMs perform twice as well with Elixir than with Pyth...
New
AstonJ
Saw this and wondered what each stage could or might mean for Elixir - anyone given it any thought? What kind of impact do you think it ...
New
dewetblomerus
Setting up Cursor Background Agents to work with Elixir was a pain, which led me to publish a Docker image just for this and write a blog...
New

Other popular topics Top

marius95
Hello everyone, I try to use an Javascript Event Handler in my root.html.leex file. Therefore I created a function in the app.js file: ...
New
Darmani72
If I have a post route which an argument: post /my_post_route/:my_param1, MyController.my_post_handler How would get the post params ...
New
albydarned
Hello all! I am typing this post from my new MacBook Pro with the M1 chip. I’m loving it so far, and will probably use it as my daily dr...
New
Patoshizzle
After calling mix ecto.create I get this error: 17:00:32.162 [error] GenServer #PID<0.412.0> terminating ** (Postgrex.Error) FATAL...
New
gausby
I asked this very same question on twitter and got some interesting feedback, but I thought it would be a good question to ask here as we...
1207 39297 209
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
saif
Hello everyone, Long time lurker first time poster here. I’ve recently begun working on Elixir full-time again! :raised_hands: It’s been...
New
nsuchy
Hi. I’ve noticed that Windows Powershell has it’s own IEX command and you cannot access Elixir’s IEX due to the conflict. This isn’t a cr...
New
AstonJ
Please see the new poll here: Which code editor or IDE do you use? (Poll) (2022 Edition) It’s been a while since we first asked this, I...
208 31142 143
New
AstonJ
We’ve put together this wiki for Phoenix LiveView - please feel free to add any info you feel is worth including. What is Phoenix LiveV...
New

We're in Beta

About us Mission Statement