My Erlang/OTP 20 Highlights

Brujo Benavides
May 30, 2017 · 3 min read

While I was on vacation, Erlang/OTP 20 RC1 was released. As you can see in that page, these are the highlights according to the OTP team:

The Highlights of OTP20-RC1

There are many great things there, but… being a thorough guy, I didn’t stop there and went for the README. And what a amazing thing! I found several other jewels there that are, at least from my perspective, much more worthy of highlight status than the ones listed above. So, here you have them…

Brujo’s Top 5 Unsung Highlights form OTP20-RC1

Hong Kong City Highlights

5. Compare and Swap for ETS

This one is something many of us were waiting for and working around in super-nasty ways for a long long time. A nice compare-and-swap for ETS is something I will certainly use in the future.

4. You can use ct_slave with rebar3 now

Another one that we have fought for a long time. As stated in this article (look for The Bad there), ct_slave and rebar3 weren’t friends. There was a workaround, of course, but it was super ugly and it basically involved not using ct_slave at all. That’s why this fix is more than welcomed.

3. Limit the logs backup on CT

Besides making Loïc extra happy, this option will prevent me from starting every test run with rm -rf logs and then hating myself for not keeping track of previous runs 🤦‍♂️.

2. Write Pids and ports in the shell

I still have to try it (I use Erlang Solution’s OSX Installer and it doesn’t provide RCs), but if it means what I think it means (i.e. that erlang:is_process_alive(<0.1.0>). will work in the Erlang shell)… That would be the single most amazing feature of this release! I’ve been expecting this (particularly for ports, thanks Fred for recon:port_info/1,2!!! 😱) since my first encounter with an Erlang shell 10 years ago.

1. Drop all the Callback Boilerplate

I honestly don’t know how this is not a highlight. Check the full conversation started by this tweet below…


So, these are my favorites (besides being able to use the atom ‘💩’, of course). What do you think? Did I miss any other hidden gem? Let me know in the comments below.


Erlang & Elixir Factory Lite Buenos Aires 2017

I want to finish this article with a little self-promotion, I hope you don’t mind…

I’m one of the organizers of the first South American Erlang & Elixir conference ever in Buenos Aires and I would like to invite you all to it.

The programme is already online and the list of talks is impressive. The BEAM community is growing fast and this will be a great place to start connecting all together. So, all my south-american readers: come join us! It will be awesome!

Erlang Battleground

Strange and funny battle stories found while programming in…

Brujo Benavides

Written by

Father / Long Distance Walker / Erlanger @ AdRoll via BairesDev / Trainer @ CodeMentor - You can… https://www.buymeacoffee.com/elbrujohalcon

Erlang Battleground

Strange and funny battle stories found while programming in the Erlang Ecosystem

Brujo Benavides

Written by

Father / Long Distance Walker / Erlanger @ AdRoll via BairesDev / Trainer @ CodeMentor - You can… https://www.buymeacoffee.com/elbrujohalcon

Erlang Battleground

Strange and funny battle stories found while programming in the Erlang Ecosystem

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store