~/talk

Purescript on the BEAM; Typed OTP for greatness

slides:none on file

Company codebase hits >250k lines so they adopt Purescript frontends (Halogen) and compile to BEAM with the Purerl compiler, hire its author, and ship two products plus some OSS libraries. Examples show typed supervisors and gen_server callbacks compiled from Purescript, a two‑stage PSC->Erlang->BEAM build under rebar3, hot loading working, and real FFI to call Erlang libs. Limits include awkward Erlang type mapping, deciding error semantics, and opaque types plus FFI effects to wrap side effects.

AI-written summary · about

  1. 0:00Introduction
  2. 1:51The frontend journey
  3. 3:51Large code base
  4. 4:45Nick
  5. 5:22We hired Nick
  6. 5:43Wipe your scripts
  7. 6:03Free stuff
  8. 6:30Package set
  9. 7:26Sales pitch comparison
  10. 11:12Purescript is a nobrainer
  11. 11:24Purescript demo
  12. 14:11Main
  13. 15:24Function
  14. 17:17Beans
  15. 18:27Base64 encode strings
  16. 24:32Demo
  17. 27:47Legacy code
  18. 29:52Pony
  19. 34:02Side effects
  20. 37:02Checking the code
  21. 40:27Handling errors
  22. 43:25OTP example
~/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.