Functional programming
summary
Functional programming claims real industrial wins: Erlang systems run millions of tiny processes at <3KB per process, support per-process GC, hot code loading and supervisor trees for automatic restarts; a prototype Erlang ad server performs ~100× faster with far less memory than the Python version. Haskell powers Facebook’s spam detection and processes billions of requests; Scala replaces Rails at Twitter for performance and maintainability. Trade-offs are fewer libraries, smaller hiring pools, and GC/fragmentation pressure, while tools cited include Erlang, Haskell, Scala, Clojure, React and immutable.js.
AI-written summary · about
chapters (25)
- 0:00Introduction and speaker background
- 2:14What is functional programming
- 6:56Industry use of functional languages
- 10:11Why functional programming now
- 12:23Code examples in Erlang and Haskell
- 13:51Cheap concurrency in Erlang
- 15:38Erlang VM and scalability
- 16:43Erlang process isolation and uptime
- 19:10Supervision trees in Erlang
- 21:18Operational visibility in Erlang
- 22:00Erlang distribution and hot code loading
- 23:09Multi-language approach and learning resources
- 23:53Functional programming in JavaScript with React
- 27:46Benefits of functional style in React
- 29:12Learning resources and Q&A intro
- 29:33Q&A: Startups and functional languages
- 32:20Q&A: When not to use functional programming
- 34:38Q&A: Learning Erlang vs imperative languages
- 37:17Q&A: Teaching functional programming to beginners
- 40:55Q&A: Erlang vs Haskell vs Go
- 45:35Q&A: Biggest challenges with functional programming
- 48:08Q&A: Thoughts on Elixir
- 51:05Q&A: Twitter’s return to Ruby
- 53:54Q&A: Pure functional web app stack
- 55:42Q&A: Functional programming on JVM/JS
