Máté Marjai

Workshop: Don't let it crash! - Writing an Air Traffic Simulator with Erlang OTP

Coder By Day, Toddler Tamer By Night

Workshop: Don't let it crash! - Writing an Air Traffic Simulator with Erlang OTP

We are all familiar to what happens on an airport (apart from the luggage handling), but are we able to simulate it? We'll take a closer look at the flying and touching ground part.

The focus of this tutorial will be landing airplanes, with them communicating with a control tower to negotiate when and where can they land. During the process, we'll get familiar with the following:

  • The Erlang programming language, and a simple App's structure
  • OTP basics, especially the behaviours
  • Taking a closer look gen_server and gen_fsm
  • Implement how a plane behaves
  • Build a control tower that can manage a swarm of planes, guiding them to land
  • Making processes talking to each other

Tutorial objectives:

  • Understand the OTP principles as well as introduction to functional thinking when solving problems.

Target audience:

  • Beginners and intermediates who would like to explore Erlang and/or OTP.

Installation Instructions:

  • Erlang 18 - http://www.erlang.org/downloads/18.3
  • Rebar - https://github.com/rebar/rebar
  • Your favourite editor (Vim, right?)

About Máté

Máté has been working with different technology over the years ranging from Ruby, Erlang and Javascript. He enjoys writing applications and software that is used and loved by people.

Github: marjaimate

Twitter: @marjaimate

Back to conference page