ClojureScript: Lisp's Revenge
summary
ClojureScript compiles Clojure to JavaScript using the Google Closure Compiler and aims for production-grade output, often emitting 2 lines of JS for trivial programs and producing merged source maps that survive advanced compilation. Benchmarks show about ~10% slower than hand-written JS on a Notch demo, compile times are incrementally fast, and the project reports ~2,300 GitHub watchers and 58 contributors. It ships core.async CSP for async programming (used to implement a 200-line autocomplete replacing a 500–600-line mutable JS version) and is adding optional typing.
AI-written summary · about
chapters (11)
- 0:00Start
- 3:38Introduction to Closure
- 4:23Typescript
- 5:40Google Closure Compiler
- 7:19What About Compile Times
- 11:55Semantics
- 12:26Lexical Scoping
- 12:40Mutable Locals
- 16:44Uniform Iteration
- 20:30Destructuring Assignment
- 29:42Parametric Polymorphism
related talks
34mClojureScript: The Essence of Alchemy
27mBuilding functional Front-ends with ClojureScript
29mAn adequate intro to ClojureScript
49mClojureScript: Fun and productive web development with next level tooling
38mcljs All The Things: Full Stack Apps with ClojureScript
24mUsing backend languages for frontends: Why ClojureScript is an awesome idea!
35mThrough the Looking Glass
36m2017 in ClojureScript Web Perf & JS Ecosystem Integration
