~/talk

Fullstack Gleam: Static Types on the BEAM, and Javascript You'll Love

Talkat Code BEAM America 2025 · 2025-03-06..03-07· [javascript]
links:none on file
slides:none on file

Gleam is a statically typed language that compiles to Erlang and JavaScript and here it builds a full-stack blog: front-end UI with luster (Elm-style model/update/view, server components like LiveView) and dev tooling from luster-devtools, backend HTTP routing with wisp, and database access via squirrel which reads SQL files, queries Postgres, and generates typed functions and decoders like get_post_by_uuid. Shared Gleam types run on both client and server, FFI MJS bridges JS with manual type annotations, and the main gotchas are wrong FFI types and pulling Elixir libs increasing bundle size.

AI-written summary · about

  1. 0:00Introduction and welcome
  2. 1:50Introduction to Gleam
  3. 3:25Gleam basics and interoperability
  4. 5:51Building frontends with Lustre
  5. 7:38Building backends with Wisp
  6. 8:50Database management with Squirrel
  7. 10:38Full-stack architecture example
  8. 13:41In-depth code walkthrough
  9. 16:52Q&A and concluding thoughts
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.