Ganna

Ganna

Hi everyone,

I have 8 years of production experience with Erlang/OTP and I’m just starting to get to know Elixir. What would you learn first? Which resources really help, and which are a waste of time for someone who already knows OTP? Are there Erlang habits I should unlearn, or Elixir conventions that surprised you when you made the switch?

Thanks in advance!

Showing Posts 1 to 10

nathanl

nathanl

You might ask AI what runtime goodies Elixir has that Erlang doesn’t. PartitionSupervisor — Elixir v1.21.0-dev comes to mind.

nathanl

nathanl

String — Elixir v1.20.4 vs Erlang charlists might be an adjustment. FWIW it handles Unicode nicely - Elixir and Unicode, Part 1: Unicode and UTF-8 Explained

cevado

cevado

In the stdlib i’d say to take a look on Task and DynamicSupervisor.

on libraries side i’d recomment checking: Ecto, GenStage, Broadway, Oban, Membrane and Phoenix(mainly live view and phoenix pubsub).

those most probably gonna make your life way easier when working with elixir, knowing that they exist is very helpful. there was an old section in the getting started docs that was aimed for people coming from erlang but i didn’t find where it migrated to in the current guides.

manhvu

manhvu

For me, when I first moved to Elixir from Erlang and Golang, the main thing I needed to learn was the new ecosystem, not the syntax. The only thing that felt significantly different from other languages was metaprogramming, which took me some time to understand.

I’ve put a guide for developers coming from Erlang:

It’s designed to help Erlang dev quickly understand the key differences and then dive deeper into the details.

lud

lud

ExUnit. Honestly if you are familiar with erlang you are not missing that much, but ExUnit is a f**** good piece of software and to me it’s the best testing framework over all progoamming languages I know.

And then maybe learn macros!

Ganna

Ganna OP

Thanks, @nathanl! I’ll look at PartitionSupervisor

Ganna

Ganna OP

Thanks, @cevado! Very helpful list, I’ll start with Task and DynamicSupervisor.

Ganna

Ganna OP

Thank you, @manhvu! The guide for Erlang developers looks like exactly what I need!!!

Ganna

Ganna OP

Thanks, @lud! Good to know about ExUnit, I appreciate the tip.

i-n-g-m-a-r

i-n-g-m-a-r

Maybe read the Plug source code.

Where Next? Top

Trending in Discussions Top

AstonJ
The obligatory hello world thread! Who are you and where are you from? :stuck_out_tongue:
4663 61218 595
New
cblavier
Hey there, It’s been more than a year since we started using LiveView as our main UI library and building a whole library of UI componen...
515 12931 101
New
raa-ziq
Hi everyone :waving_hand: I wanted to share something I’ve been building — NowBlind, a random chat app designed to help people discover ...
New
sntran
In my third year of college, around 2010, I found Erlang. A few years later, I found Elixir. I liked the ideas at once: many small proces...
New
gtcode
I’ve been tinkering with Lynx (by José) via hold_ledger. I used AI to write the code, a separate specification, the tests, and the Lean p...
New
AstonJ
A remark @Garrison made… ..has already inspired a thread for the technical side of reclaiming our internet, but there is of course anot...
New
ManuelGarcia
Hi everyone! I’m the developer of PaperForge, and I’ve been working on something alongside it that I’d like your opinion on. I’m conside...
New

Other Trending Topics Top

dominicletz
Hey there, I haven’t seen a list of useful Elixir specific skills for the popular AI tools yet so I’m starting one here with my first. ...
New
mudasobwa
I fully migrated to my own harness from Anthropic/Gemini and I think it’s time to share it. Welcome DSH, the DeepSeek Harness, fully writ...
New
OndrejValenta
(I just needed to vent somewhere and LinkedIn is full of hope, or hype, I’m not sure which exactly) AI dream has many faces, but general...
New
kip
Localize is the next generation localisation library for Elixir. Think of it as ex_cldr version 3.0. The first version will be released ...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
mcass19
ExRatatui lets you cook up rich terminal UIs in Elixir, powered by Rust’s ratatui via Rustler NIFs. Build interactive terminal applicatio...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews