Sharing code in the backend and frontend using Gleam

Speaker
Ian Gonzalez


Abstract

Gleam is a young BEAM typed language that is getting good traction. Since version 0.16, Gleam now compiles to JavaScript too, which opens the possibility of writing in Gleam both in the backend and frontend.

This talk will illustrate what is currently needed to share the same code in BE and FE, compiling to Erlang and JavaScript respectively. The talk will showcase the trade-offs of this approach (versus current state of the art which is writing in both languages) with the simple example of a form validator. The talk will also compare the code generated in Erlang and JavaScript with the same Gleam initial code.

Audience
Intermediate

Date
March 3th

Venue
Virtual talk via @CodeBEAMLiteMX Twitter live

Duration
40 minutes

Language
English