Clojure for Ruby Programmers
summary
Seven concrete claims: Clojure runs on the JVM and interoperates with Java, it offers a sequence library with lazy and infinite sequences, and it uses persistent immutable data structures that share structure and achieve practical speed via a branching factor (log base 32). The demo builds a chat app using refs/alter/dosync and a 100‑line Conway variant with a single mutable line using atoms refs agents. Macros, multimethods, metadata and warn-on-reflection tuning are shown and a substring patch is mentioned.
AI-written summary · about
chapters (15)
- 0:00Start
- 1:55Syntax
- 3:17Function Definitions
- 3:39Control Flow
- 8:03Homework Problem
- 8:20Differences between Lisp and Ruby
- 11:53Infinite Collections
- 13:31The Sequence Library
- 16:10Approach to Values Identity and State
- 22:40Atomic Updates
- 24:43Multi Methods
- 27:35Dispatch Workarounds
- 29:03Macros
- 34:55Love Sex and Friendship
- 40:01Nothing Forces You To Use Multi Methods
related talks
40mclojure is my favourite ruby
43mRuby, Clojure, Elixir comparative study
40mJVM Polyglot Programming: JRuby FTW!
39mTransforming Software Evolution: Lessons from 10 Years of Clojure in Production
38mA Rubyist in Clojure-land
33mTo Clojure and back: writing and rewriting in Ruby
37mRuby versus the Titans of FP
19mRuby and the Lisp
