Hurray for Erlang 17.0!

Pretty excited about yesterday’s release of Erlang/OTP 17.0. You can read more about why this release is important from Joe Armstrong’s February 1 post: “Big Changes to Erlang“. The release of Erlang/OTP 17 is important to the v1.0 release of Elixir as well: “Milestones for 1.0“.

Getting it:

The good folks at Erlang Solutions publish and maintain a library of prebuilt Erlang packages for many platforms here.

If you are on Linux or Mac many folks use a handy tool named Kerl to build and switch between multiple releases of Erlang. Get started here:

If you are on Windows you’ve got it easy. Go to the’s download page (here) and download the 32-bit or 64-bit OTP 17.0 Windows Binary File. It runs as a standard Windows installer, and it works great. All dependencies are pulled in for you including wxWidgets which is used with the graphical tools Debugger and Observer.

Finally, if you are on Ubuntu and want to see how to build from source (and get the required dependencies) I have a Gist that will help you “Build Erlang 17.0 on a fresh Ubuntu box (tested on 12.04)

# Pull this file down, make it executable and run it with sudo
# wget
# chmod u+x
# sudo ./

if [ $(id -u) != "0" ]; then
echo "You must be the superuser to run this script" >&2
exit 1
apt-get update

# Install the build tools (dpkg-dev g++ gcc libc6-dev make)
apt-get -y install build-essential

# automatic configure script builder (debianutils m4 perl)
apt-get -y install autoconf

# Needed for HiPE (native code) support, but already installed by autoconf
# apt-get -y install m4

# Needed for terminal handling (libc-dev libncurses5 libtinfo-dev libtinfo5 ncurses-bin)
apt-get -y install libncurses5-dev

# For building with wxWidgets
apt-get -y install libwxgtk2.8-dev libgl1-mesa-dev libglu1-mesa-dev libpng3

# For building ssl (libssh-4 libssl-dev zlib1g-dev)
apt-get -y install libssh-dev

# ODBC support (libltdl3-dev odbcinst1debian2 unixodbc)
apt-get -y install unixodbc-dev
mkdir -p ~/code/erlang
cd ~/code/erlang

if [ -e otp_src_17.0.tar.gz ]; then
echo "Good! 'otp_src_17.0.tar.gz' already exists. Skipping download."
tar -xvzf otp_src_17.0.tar.gz
chmod -R 777 otp_src_17.0
cd otp_src_17.0
make install
exit 0

Phoenix Channels via F#

My 2016 F# Advent calendar post Continue reading

NDC Oslo 2015 - The FP Track Cheatsheet

Published on June 16, 2015

Elixir Immutability

Published on February 14, 2015