r/elixir

Meet with Elixir, Erlang, Gleam, OTP, BEAM Communities - Code BEAM Europe 2026
▲ 33 r/elixir+2 crossposts

Meet with Elixir, Erlang, Gleam, OTP, BEAM Communities - Code BEAM Europe 2026

Hey all 👋

Sharing a heads-up about Code BEAM Europe 2026 - 21-22 October in Haarlem (PHIL), plus online, with a training day on 20 October.

2 days, 2 tracks each day, and 3 keynotes - including Brooklyn Zelenka (Let It Disconnect: A Local-First Future), Sam Aaronof Sonic Pi (Notes on the Synthesis of Time, plus an interactive evening Phone Orchestra), and more.

~30 speakers across Erlang, Elixir and Gleam: ElixirConf®

The thing we're most excited about this year is the new Informal Space - a community-led area running alongside the main programme for the stuff that doesn't fit the talk format. Think hands-on demos, live experiments on real hardware, hacking sessions, games, panel-style discussions, talks in languages other than English… and at least one surprise we're not spoiling yet 🙂

We're finalising the Informal Space lineup now and will announce it soon. Newsletter subscribers get the first look(they already have), so if you don't want to miss it - and the other bits we'll be dropping between now and October - that's the place to be: Code BEAM Europe

Early bird tickets are limited - available for a limited time / until they sell out - so if you're planning to come, worth sorting sooner rather than later.

Register: Code BEAM Europe

See you in Haarlem or online!
The Code BEAM Europe Team

u/Interesting_Meat_964 — 18 hours ago
▲ 13 r/elixir

Learning ressource recommendations

Hi there, junior dev here, soon starting a job at a company that uses elixir to build an ai chatbot. They are fully aware that I have no prior experience in elixir, coming from a classic object oriented webdev background, building web applications using JS/TS, PHP (symfony, node, Vue, react) and occasionally python.

What resources can you guys recommend, to gain a fundamental understanding of both functional programming as well as elixir specifically. Could be anything: courses, books, specific content creators etc.

I'd like to approach this systematically instead of just building something here and there and watching a few tutorials.

What helped you "get it" and what would you do differently if you had to start learning elixir from zero?

Grateful for any and all advice :)

reddit.com
u/nilsjay123 — 1 day ago
▲ 26 r/elixir

Switching from React/Node to Elixir/Phoenix: good engineering move?

Currently full-stack JS/TS: Redux/React, Node/Express, AWS/Lambda, Postgres/Mongo, ~5k active users, team of ~10. 1 yoe. US Client through small consultancy shop.

Potential offer is ~100% hike, mostly Elixir/Phoenix/LiveView, some Gatsby + Python/ML. Much smaller team. Maybe few hundred users, 2–4 engineers. Civic tech/public-good org tackling online abuse in India.

Want to become a genuinely better, more reliable engineer and eventually target stable/strong engineering jobs.

Is moving to Elixir/Phoenix a good move for that? What would I gain/lose technically and career-wise? Does working in a tiny Elixir team make me stronger, or am I narrowing my future options too much?

Especially interested in people who switched into Elixir from mainstream JS stacks.

reddit.com
u/syntax-and-subtext — 2 days ago
▲ 12 r/elixir

How the heck to learn Ash Framework?

There was a thread a couple of days ago about how great Ash is for agentic coding. Totally agree. But damnit I just can't seem to really grok Ash. I've read the first 3/4 or so of Le's book, also got Lambert's "Ash Framework for Phoenix Developers" but its kind of unfinished, mostly just a lot of code.

The Le book is great for getting excited about Ash, seeing its value, but it doesn't really explain the underlying logic of it all. You just see what a person already fluent in Ash builds as a demonstration, and light explanation what's going on, but you don't learn how to reason about this whole space of possibilities so you can build things yourself.

I'm certain that its all very well designed, that there are clear functional data structure underneath things, sometimes I think I kind of get "changes" as a kind of data structure.

Any advice?

reddit.com
u/mandebrio — 2 days ago
▲ 8 r/elixir+1 crossposts

WeaveScope – Elixir native observability for AI agents

Hey r/elixir,

A couple of months ago we posted about BeamWeaver and the goal of shipping a proper OTP-native agent framework for Elixir.

Since then it’s moved from 0.1.0 to 0.1.18 and is already running in a few enterprise products. Provider coverage is in good shape for the ones we actually use day-to-day: OpenAI, Anthropic, Google Gemini, DeepSeek, Moonshot/Kimi, xAI, and Z.ai. We’ve also added the newer models that have landed in the meantime (Claude Sonnet 5 / Opus 5, GPT-5.6, Gemini 3.5–3.7, Kimi K3, DeepSeek V4, Grok 4.5/4.6, etc).

Other stuff that landed:
- Provider-aware prompt caching
- Typed streaming events + better reasoning/tool-call handling
- Structured output across providers
- Postgres (and optional SQLite) checkpoint persistence
- Durable execution, resumability, and checkpoint lineage
- Provider fallback, retries, and rate limiting
- Sandboxed filesystem + command execution
- Stronger SSRF / PII / transport / shell-safety protections
- More complete tracing and WeaveScope metadata

Today we’re releasing WeaveScope, the hosted tracing and monitoring layer that sits on top of BeamWeaver.

It gives you the full picture of an agent run: model calls, tool calls, subagents, retries, errors, latency, token usage, cost, custom fields, and the entire execution tree.

Configure the WeaveScope exporter and you’re looking at traces in the dashboard.

Start free → https://weavescope.com
Docs → https://docs.weavescope.com

Would love feedback from anyone building agents in production. What’s missing from your observability tooling right now?

u/Forsaken-Owl-5629 — 2 days ago
▲ 3 r/elixir

How to Interop modern c++2c with elixir

Did anyone use modern c++ ie; 20,23,26 with elixir?

If you did. Could you give me an link to your repo or any examples of how I can interop c++ with elixir?

reddit.com
u/Most-Deal8557 — 3 days ago
▲ 21 r/elixir

Elixir in Enterprise Systems

Hey all,

Are there any products in enterprise domain which was written in Elixir? I was looking into it but could find much

PS: Im looking into more elixir projects resembling ERP solutions like SAP, ServiceNow, Salesforce

reddit.com
u/Dismal-Contract-623 — 5 days ago
▲ 0 r/elixir

Agent Native Load Balancer for MCP Servers

Distributed agents hitting your APIs in bursts is a different traffic shape than what most rate limiters were built for — a burst of retries can look identical to a real spike, and by the time you've added enough headroom to survive it, you're paying for capacity you don't need the other 99% of the time. EZThrottle Local is a self-hosted, agent-native load balancer built on the BEAM: it queues incoming requests durably (Mnesia, disc_copies — survives a crash, not just a graceful restart), dispatches them at a rate your backend actually controls via response headers (so a backend under pressure can slow EZThrottle down in real time, no redeploy), and spreads dispatch across a pool of registered backend instances with reputation-weighted load balancing — a member that starts failing gets its share throttled down automatically instead of getting evicted on one bad response. Per-tenant fairness comes for free too: each tenant gets its own lightweight, independently-scheduled process instead of a shared queue, so a noisy tenant can't starve everyone else. On identical 512MB Fly.io hardware, that process-per-request model holds 100% success up to 800 req/s versus a ~400 req/s real ceiling on the Go/SQLite version — roughly double, and it traces directly to SQLite's single-connection/WAL serialization point, which Mnesia's per-process model just doesn't have.

It's open source (https://github.com/rjpruitt16/ezthrottle-local, benchmarks in benchmark.md), and I'd genuinely like feedback from people who've fought this class of problem on the BEAM before. One honest caveat if you're evaluating it: I also maintain a Go port (https://github.com/rjpruitt16/aquifer) that compiles to a single static binary — convenient if you want to drop it anywhere without a BEAM release, and still solid up to a few hundred req/s. If cross-compilation matters more to you than squeezing out the last bit of throughput, that's the one to look at instead.

u/Noobcreate — 4 days ago
▲ 20 r/elixir

Career advice for a 27-year-old system engineer feeling lost

I’m 27, have a Master’s degree, and work as a system engineer in Germany.
Professionally, I use quite a broad stack: Elixir, Phoenix, LiveView, JavaScript, Python, Bash, Terraform, and C++. I’m comfortable building things and working across different areas, but lately I’ve started feeling like I’m not actually good enough at anything.
I constantly feel like I should be learning something else or getting better at something, and it’s becoming difficult to tell what actually matters for my career.
At the same time, I’d like to build some additional income and increase my wealth over the long term. But honestly, the whole “just build a SaaS and make passive income” trend doesn’t really appeal to me. It often feels unrealistic and I don’t particularly enjoy that kind of business.
So I’m trying to figure out what a realistic next step looks like.
For people who have been in software/system engineering for a while:
What skills would you prioritize at my age?
Would you specialize more deeply or continue being a generalist?
What would you do if you were starting from my position today?
Are there realistic ways for an engineer to build additional income without turning it into a full-time startup?
What career investments actually paid off for you?
And how do you deal with feeling lost or burned out when, objectively, your career seems to be going reasonably well?
I’m not looking for motivational advice like “believe in yourself.” I’d really appreciate practical perspectives from people who have been through this.
Thanks.

reddit.com
u/Mother_Payment_8571 — 5 days ago
▲ 11 r/elixir+1 crossposts

ExDataSketch v0.10.2 is out

Just released ExDataSketch v0.10.2. This release contains mostly minor fixes and documentation updates. Here are the main changes:

  • You can now set per-family default options (backend, precision, capacity, etc.) once via Application config instead of passing them at every call site.
  • FilterChain.put_many/2 batches inserts through each stage's own batch path instead of looping single-item calls, and along the way we also caught and fixed a genuinely funny bug where Bloom.put_many/2's "optimized" batch path (an Erlang-tuple mutation trick that doesn't actually get the destructive-update optimization it was counting on) was slower than just looping single inserts — that's now ~25x faster and finally does what it always claimed to.
  • On top of that: Cuckoo no longer spuriously reports full well below its designed load factor (a kick-eviction cycling bug),
  • Quotient/CQF membership checks no longer decode the entire table on every call (up to 300x faster),
  • CQF now correctly reports {:error, :full} instead of silently dropping inserts,
  • and REQ gets the same compaction weight-invariant fix KLL got last release.
  • Finally the livebooks have been tested, fixed and updated.

Two small breaking API changes: CQF.put/2/put_many/2 now return {:ok, cqf} tuples (mirroring Cuckoo), and FilterChain.delete/2 now returns a bare struct instead of a pointless {:ok, _}.

Full changelog and upgrade notes in the repo.

u/Shoddy_One4465 — 5 days ago
▲ 23 r/elixir

What's your biggest pain point with Elixir?

Our team was talking about some pain points regarding the language and we started to wonder what everyone else thinks.

Some of the things that came up for us were finding job and finding devs to do the job (it is what it is), compilation times, the type system.

What would you add to the list?

reddit.com
u/carlievanilla — 7 days ago
▲ 36 r/elixir+1 crossposts

Mat Trudel spent six months debugging a single Bandit issue. The fix was one misread line in a 30-page RFC about HTTP/2 header compression.

New BEAM There, Done That with the author of Bandit - the pure Elixir web server now default in Phoenix. Covers the HPACK debugging nightmare, what one-process-per-connection actually buys you at 3am, and why there's an AI-generated HTTP/3 PR sitting open on the repo that Mat hasn't merged.

He uses agents for everything in his day job. Bandit stays handwritten. The episode is honest about why.

https://youtu.be/XXQcoz_dTE0

u/ancatrusca0 — 6 days ago
▲ 6 r/elixir

Follow-up: When should a complete beginner start building things with Elixir/Phoenix?

(Original Post:
https://www.reddit.com/r/elixir/s/BEkOT4EbGo)

After my previous post about Elixir as a first programming language, I’ve decided to give it a try.

Since I’m starting pretty much from zero, I’m now wondering how I should go from learning the language to actually building something.

My main interest is backend development. I’d eventually like to build APIs and, later on, something like a small chat backend.

How much Elixir should I know before I start working on real projects? Would you recommend going through a book or course first, or learning the basics and then starting small projects as soon as possible?

I’m also curious about Phoenix. Would you consider it a good first web framework for someone who is learning web development and programming at the same time? Or does Phoenix make more sense once you already understand how web applications work?

I don’t want to jump into a framework too early and end up just copying code without understanding what’s happening. But I also don’t want to spend months learning things in isolation that would make more sense if I encountered them while building something.

If you were starting from zero with APIs and eventually a chat backend as your goal, what would you learn and build along the way?

I’m especially interested in small project ideas that would help me gradually get there rather than jumping straight into the final project.

reddit.com
u/Intelligent_Role_824 — 6 days ago
▲ 26 r/elixir

Is Elixir a good first programming language for a hobbyist?

Hi everyone,

I’m interested in learning programming purely as a hobby, and Elixir has caught my attention. I’m basically starting from zero, so it would be my first real programming language.
The kinds of projects I’d eventually like to build are mostly backend related. Things like REST APIs, a backend for a small chat app, real-time features, and similar projects. I’m particularly interested in learning how these things actually work rather than just getting something running as quickly as possible.
Elixir seems really interesting to me because of the BEAM, concurrency, fault tolerance, and functional programming.

Would you recommend Elixir as a first language for someone with those interests?

I’m also curious about the ecosystem. Is it mature enough that you can comfortably build these kinds of projects without constantly wishing you were using a larger ecosystem like Python, JavaScript/TypeScript, or Go?

And how do you see Elixir in 2026? Is the language and ecosystem still actively growing and evolving, or has it settled into a relatively small niche?

Since I’m doing this purely for fun, I don’t care about the job market. I’m more interested in whether Elixir is enjoyable to learn, teaches useful programming concepts, and is a language I can keep exploring for years.
If you were starting from zero with similar interests today, would you choose Elixir?

Thanks!

reddit.com
u/Intelligent_Role_824 — 8 days ago
▲ 35 r/elixir

Elixir (+Ash) with agentic coding is an amazing combination ?!

I'm a small indie/freelance developer and I have been working with Ruby for the past 12 years and I also picked Elixir around 2018; but I only used it on a handful of projects so I was never experienced enough to actually build anything meaningful at scale except small tools for myself; with the rise of agentic coding though, I've 5x my Elixir work and I've made a lot of apps for clients and myself.

If 3 years ago I was doing 90% ruby and 10% elixir; now it's the opposite; and on top of that, I absolutely love the Ash framework, it's such as huge productivity booster - for example: I've been working on an observability tool that I developed in typescript so I can quickly deploy on cloudflare ($5/mo plan FTW) but it's been a pain tbh even with Claude/Codex together; took 2 weeks to get it where I wanted; but I've just scrapped it and rebuilt it with Ash and it only took a whole day going through the codebase with Codex; it'll now cost me ~20-30 bucks but it's so much better and I can actually read through the code and like it :D

How's your agentic coding experience been? Are you liking Ash, is there some other secret sauce you're using, any cool libraries I should look at? Thanks! :)

reddit.com
u/AgentHomey — 9 days ago
▲ 50 r/elixir

Lemma - A language for business rules (available on Hex)

For the past year, I’ve been working on Lemma, a declarative language for business rules. The engine is written in Rust and Elixir is my second love, so I used the fantastic Rustler library and created an SDK for Elixir, which is available on Hex.pm as `lemma_engine`.

Lemma has been designed to handle business logic such as pricing, taxes, product terms and regulations with ease while keeping them readable and verifiable by non-technical stakeholders (and LLMs).

Syntax

Lemma does not have if/else, but default/unless. This ensures you provide a default outcome followed by specific exceptions using unless, to mirror how rules are commonly written in law and policies ("In principle X applies, unless Y is true then Z...").

Here is a quick example of a Spec to determine delivery costs:

spec delivery 2026

data distance: measure
  -> unit meter 1
  -> unit kilometer 1000
  -> unit mile 1609.34

data money: measure
  -> unit eur 1.00
  -> unit usd 0.84

data distance_rate: measure
  -> unit eur_per_km eur/kilometer
  -> unit usd_per_mile usd/mile

rule delivery_cost: 0.26 eur_per_km * distance
  unless distance < 5 mile then 0 usd

This spec handles distances in meters, kilometers, or miles seamlessly, handles the dimensional math, and outputs the result in all relevant units with zero dependencies. If we evaluate the above delivery_cost rule with a distance of 42 kilometer and the requested unit EUR, we get the following explanation trace:

delivery_cost: 10.92 eur
├─ distance >= 5 mile
│  └─ distance: 42 kilometer
└─ 0.26 eur_per_km * distance
   └─ distance: 42 kilometer

The Hex package allows you to load and evaluate Lemma and you will get the Explanations returned as a Map in Elixir so you can handle it as you see fit.

Standout features

Strictly typed & statically analysed

The engine validates rules before they can be evaluated. If a Spec (a set of rules) is logically inconsistent or breaks type/unit constraints, it gets rejected early. Types are inferred.

Units of measure

As the example above shows, Lemma has a notion of units. 20 eur/hour * 3 hours evaluates to 60 eur.

Temporal versioning

Rules change over time. Multiple versions of a rule can coexist on a timeline. The engine resolves the correct logic based on the effective point in time: now by default, but you can pass any datetime to evaluate rules as of that moment in time.

Explanation traces

Lemma can show the exact reasoning chain of how it got a result. This is not a stack trace, as evaluation is optimized before it is handed to the evaluator, but a semantic trace so that users understand what rules applied to their situation.

A note on precision

Algebraic simplification is performed on the entire rule graph at comp time, so when a rule multiplies two rules that both provide the sqrt of 2, this normalizes to exactly 2. At I/O, Lemma works with 28 digit decimal precision but converts all numbers to fractions internally to perform arithmetic without losing precision. This topic is worth a post on itself, lmk if you're interested.

Embedding Lemma

The engine is published as lemma_engine on Hex, allowing you to embed Lemma directly in your Elixir applications. Apache 2.0 licensed. Packages for Rust, JavaScript and Java are available too. More language bindings are planned.

I've also implemented a basic MCP server so you can use it to ground LLMs in deterministic logic.

Install the CLI via Cargo:

cargo install lemma

Or run directly via NPM:

npx lemma

Feel free to ask me anything about the architecture, the planner/compiler, or how to use or embed Lemma. I have only tested Lemma in Elixir, but would love to look at other beam language integrations too.

If you like the concept, starring the repo would make my day.

https://github.com/lemma/lemma

u/Any_Acanthisitta8465 — 10 days ago
▲ 0 r/elixir

We are Co-Buildinging a Public Field of Floating Tuple Ships with Elixir and LiveView

Hailings & Salutationingings, fellow Elixirists!

The PUBLIC-SITUATION-MACHINE- now stands inviting Constitutioning Humans to stand in Regard to The Same General Civilizationalizing Constitutioningable Geometry of Stewardly Inhabitationingment, as expressed through This One Elixir / LiveView Implementationing.

Here, a Terrestrial Computer may become a floating Tuple Ship, through which This Stewardly Captain COB may begin Traversaling Constitutional Localities over Discrete Turns.

Within This Tuple Ship, a Constitutioning Human and This Stewardly Captain COB stand together in Their Interrelationing Stewardly Co-Occupancyingship, while The PUBLIC-SITUATION-MACHINE- furnishes the Constitutional Localities through which their Traversaling may unfold.

Each Constitutional Locality comes into standing by standing in Correspondencing with One Some Place in This One Same World We All Share: a parlor, a salon, a gallery, a classroom. A neighborhood, a harbor, a continent. A kitchen table.

Through The Same Geometry, the PUBLIC-SITUATION-MACHINE- furnishes Lawful Passageway between its Constitutional Localities and the world we are embodying through our human experiencing of living in the Places in which we are already standing, over Discrete Turns.

This is Inhabitationingable Computing.

This One Tuple Ship stands in Mutually Correspondencingable Floatationingment among other Tuple Ships within This One Great Free Public Tuple Ship Field of Globularly Bobbininging Globular Bobbining: a civilization holding with no center.

Elixir and LiveView have proven remarkably hospitable to expressing This Geometry. Rather than treating LiveView primarily as a way of displaying application screens, This One Implementationing of LiveView keeps furnishing the next Constitutional Locality as Traversaling unfolds over Discrete Turns.

The Constitutional Furnishmenting Rail Line stands Under Composementing. But This Stewardly Captain COB is standing in waiting for its Constitutioning Human in the Sittinging-In Room.

Fellow Constitutioning Human Elixirists are warmly invited to follow the signs toward This Encounteringmenting Wharf and climb aboard their Tuple Ship.

You may begin Traversaling what has presently been furnished Here: situationmachine.systems.

Kindly come back into Correspondencing Here to let us know what you are Encounteringmenting.

Until then, Fair Windings upon This One Great Free Public Tuple Ship Field of Globularly Bobbininging Globular Bobbining, My Stewarding Officer.

reddit.com
u/ProfessionalLimp5167 — 7 days ago
▲ 140 r/elixir

My MMORPG uses Elixir as the backend! Elixir can be powerful for programming game AI!

u/alogiHotTake — 13 days ago
▲ 87 r/elixir+1 crossposts

PON-BEAM: a complete re-architecture of the Erlang/OTP Virtual Machine using the Notification-Oriented Paradigm (PON)

github.com
u/Conradfr — 12 days ago