Getting to know Actors in Gleam - Raúl Chouza | Code BEAM America 2024

preview_player
Показать описание
✨This talk was recorded at Code BEAM America 2024, a conference by Code Sync ✨

Gleam is a programming language that makes the case for type safety in the BEAM. Give it a try and you will soon discover that the straightforward syntax and great error messages give you the power to start building your domain logic behind a lovely typed foundation.
It is a great choice for simple finite programs that will not break, but the BEAM offers much more than that... Its process primitive gives us the means to model asynchronous and concurrent work.
Gleam offers a way to represent processes and messages within the type system and uses that to rebuild one of the fundamental abstractions of OTP an Actor. In this talk we’re going to disassemble what makes an Actor and what it takes Gleam to make it work along its type system.

Let's stay in touch! Follow us on:
Рекомендации по теме
Комментарии
Автор

Is the code for this demo available somewhere? It would be great to learn how to implement actors like this for someone new to Gleam and/or Erlang in general. Thank you!

mxlje
Автор

The release of Gleam couldn’t have come at a worse time, the language is approachable but with Elixir getting types and the ever increasing groundswell beneath Elixir…

Gleam will soon be a footnote.

I wish the author had leaned in more, kudos nonetheless.

pookiepats