End-to-end Purescript with Erlang/OTP
summary
Claim: PureScript compiles to Erlang/BEAM so the same typed code runs front and back, producing .beam files that load into rebar3 builds and support hot code reload. Demoed typed wrappers over supervisors and gen_server-style services, a PureScript web handler stack compiled against cowboy and JSX/simple-json, and an FFI strategy for legacy modules with opaque types and side-effect functions. Works at scale on a codebase with ~1,000,000 lines of Erlang and is already shipping to clients.
AI-written summary · about
chapters (6)
- 0:00Motivation and context
- 2:53PureScript on BEAM
- 7:30Compiling and integration
- 18:13Legacy code and FFI
- 27:24Real-world project structure
- 37:15Web development and conclusion
related talks
47mPurescript on the BEAM; Typed OTP for greatness
34mInterview with Louis Pilfold on Elixir Gleam
29mBrave New World, tales of PureScript and Haskell in production
01h 07mPipe forward : Using Elixir and F# together
42mConcurrency Oriented Software
53mIntro to Haskell for Erlangers
31mThe Meaning of LFE
57mMaximising Side Effects When Adopting Functional Programming
