jbrb

jbrb

Learning Erlang after Elixir

I’m planning to learn Erlang. I’ve seen forum answers that Erlang and Elixir are quite the same. After learning Elixir, in what part of Erlang should I start learning given that I learned Elixir. And if I should avoid some parts of Erlang that are already in Elixir to avoid redundancy. (if there are)

First 8 of 8 Posts Switch mode

jbrb

jbrb OP

Great! Thank you!

rvirding

rvirding

Creator of Erlang

The erlang :string module is now UTF-8 aware. Generally speaking the erlang syntax is simpler with very few “special cases” and basically only one way of writing things.

gregvaughn

gregvaughn

Ah, so there’s an outdated piece of that tutorial

In Elixir, the word string means a UTF-8 binary and there is a String module that works on such data. Elixir also expects your source files to be UTF-8 encoded. On the other hand, string in Erlang refers to char lists and there is a :string module, that’s not UTF-8 aware and works mostly with char lists.

We should remove “that’s not UTF-8 aware”?

Edit: I took the liberty of creating a PR Update crash-course.markdown by gvaughn · Pull Request #1185 · elixir-lang/elixir-lang.github.com · GitHub

yurko

yurko

I’ve done the same, bought this book that is also available online Table of Contents | Learn You Some Erlang for Great Good! it’s a nice deep dive into the Erlang language as well as OTP, it’s not that up to date though but the basics don’t change that often :slight_smile:

rvirding

rvirding

Creator of Erlang

Yes. It now also works on binary strings as well list strings and and on combinations of both. It also knows about grapheme clusters though I haven’t tested this. Someone had a lot of fun. :wink: The old latin-1 interface is still there but will be deprecated in the future.

maz

maz

Not gone through this yet but adding it here:

http://erlangbyexample.org/

AstonJ

AstonJ

Check out all of the wonderful Erlang books :003:

— All posts loaded —

Where Next?

Trending in Chat/Questions Top

krisleech
Hey folks, I’ve been using Elixir for over a couple of years (phx, ecto, broadway, oban). For this kind of work you do not tend, in my e...
New
mhindujadheerajsudan
Hi, I’m Dheeraj Sudan from the UK. I’m a software developer and also run a business with my wife Meenu Hinduja. I’m interested in getting...
New

Other Trending Topics Top

JesseHerrick
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
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
Damirados
Hello everyone. After busy few months I am happy to announce v0.1.0 of Emerge & Solve. They are GUI (Emerge) and State management (S...
New
ausimian
Emily is an Elixir library that runs Nx computations on Apple’s MLX. Install it as the default Nx backend and Nx, defn, Axon, Nx.Serving,...
New
type1fool
I just stumbled on a newly redesigned elixir-lang.org. :tada: It looks like @Software_Mansion did the work, and I think it is generally a...
New
juhalehtonen
There has been a thread to discuss the Stack Overflow Developer Survey on this forum every year since 2018, so here’s yet another one for...
New

We're in Beta

About us Mission Statement