BEAM's bright future with Gleam (and JavaScript?)
summary
Gleam targets the BEAM but also compiles to JavaScript, which is why the JS backend is called the most exciting thing: it exposes BEAM-style typed code to web developers and Elm users. Examples show BEAM HTTP using htpc with result.try and browser code using fetch with promise_try, sharing request/response types but requiring different clients. OTP works on BEAM via a Gleam OTP library; attempting OTP in browser fails and the type checker prevents it, so reusable logic compiles but platform-specific IO differs.
AI-written summary · about
chapters (10)
- 0:00Introduction to Gleam
- 1:48Type safety and transpiling
- 3:26Error handling in Gleam
- 5:23Learning curve and ease
- 7:07Multilingual capabilities
- 9:03Networking and interoperability
- 13:42Concurrency and actors
- 17:01Frontend development with Luster
- 18:38Community and future outlook
- 22:33Q&A and wrap up
related talks
28mFullstack Gleam: Static Types on the BEAM, and Javascript You'll Love
47mElm or how I learned to love front end development
39mDeveloper Happiness on the Front End with Elm
56mEmbind and Emscripten: Blending C++11, JavaScript, and the Web Browser
45mEmscripten
48mHighway to Elm!
15mPutting the fun in functional with Elm
29mElixir in the Browser
