jbrb

jbrb

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)

Showing Posts 1 to 8

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? Top

Trending in Chat/Questions Top

Other Trending Topics Top

mudasobwa
I am happy to introduce the very α version of the new programming language compiled to BEAM. Welcome Cure. It has literally three kille...
New
garrison
Hobbes is a low-level distributed database for the Elixir programming language. Hobbes provides a simple, safe, and scalable storage lay...
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
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
netoum
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New
wintermeyer
There are three potential reasons for members of this forum to have a look at https://vutuv.de You are tired or annoyed of LinkedIn. Yo...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews