"Controlling Time and Space: understanding the many formulations of FRP" by Evan Czaplicki
Channel:Strange Loop Conference · Length:40:54 · Published:2014-09-21 · Views:69512
Summary
Evan Czaplicki's Strange Loop 2014 talk surveys the many formulations of functional reactive programming and how they relate historically and theoretically. It then shows how Elm's variant enables hot-swapping and its time-traveling debugger.
Why HN recommends it
HN people point to it as the clearest explanation of what FRP actually means and how its flavors differ.
I highly recommend Evan's Strange Loop talk — HN, 2014
Functional programming · Web development · Testing, debugging & developer tools
Subtitles (excerpt)
I'm Evans wtky uh I designed the elm programming language and sort of over the course of thinking about functional reactive programming over the past couple years I've learned some I've learned some things so this talk is really distilling those years into like a 40-minute thing so you don't have to you don't have to go through the same thing that I did um and I went with controlling time and space because at the time I was feeling like like some kind of Time Lord with like time travel and but the real focus is on understanding uh what FRP is and there actually quite there's quite a lot of diversity about what that term really means and sort of diving into that and sort of being able to pick that apart so our goals for today are to understand what is FRP um how do we categorize different things that sort of fall into that umbrella and then how do we evaluate those different things in a in a nice way so um the way we're going to get started learning these things is start with sort of what I'm calling first order F FRP and this is kind of what Elm looks like and then we'll Branch out into a bunch of different variations that sort of build on that core so first thing is first order FRP so another way to think
On Hacker News
There's an important issue with async iterables: what's the initial value of derived "signals"? In the Dart/Flutter world, async iterables are known as streams. The biggest problem is that they are asynchronous so if you derive new streams from existing streams, you won't have a value immediately for those streams available, you'll have to wait a frame for values to propagate. That's not a proble… — modulovalue, 2026-03
If you're interested in Elm but don't really know what it's about, I highly recommend Evan's Strange Loop talk, "Controlling Time and Space: understanding the many formulations of FRP." It will help to already have a bit of background in functional programming. [VIDEO] — dcre, 2014-12
For those just getting started in FRP or whom may have not seen the presentations at StangeLoop: - [VIDEO] - Controlling Time and Space: understanding the many formulations of FRP by Evan Czaplicki (Elm language designer/Prezi) - [LINK] - FRP In Practice: Taking a look at Reactive[UI/Cocoa] by Paul Betts (Slack/GitHub) - [LINK] - ReactiveUI - It's pretty neat by Brendan Forster (GitHub) — ghuntley, 2016-01
It's been around in various forms, and implemented on top of various languages, for quite some time. The earliest full-fledged FRP implementation for JavaScript was Flapjax – work on it dates all the way back to 2006! [LINK] The paper Flapjax: A Programming Language for Ajax Applications is worth reading. [LINK] The principal designer and maintainer of the Elm Language (a functional reactive lang… — michaelsbradley, 2015-11
> "FRP is programming with asynchronous data streams." Maybe, if you drop the F. For clarification on FRP there was a great talk at strangeloop this year: [VIDEO] — platz, 2014-11
Related videos
- John Wiegley: Putting Lenses to Work · Bay Area Haskell · 47:18
- Gabriella Gonzalez – How to market Haskell to a mainstream programmer · Konfy · 41:52
- Black hole Firewalls - with Sean Carroll and Jennifer Ouellette · The Royal Institution · 1:27:43
- Four Solutions to a Trivial Problem - Guy Steele Jr. · Google TechTalks · 1:01:47
- Yanis Varoufakis: The Global Minotaur: America, Europe and the Future of the Global Economy · SkriptaTV · 57:27
- Brendan Eich: JavaScript, Firefox, Mozilla, and Brave | Lex Fridman Podcast #160 · Lex Fridman · 2:59:19
- Ruby Conf 12 - Y Not- Adventures in Functional Programming by Jim Weirich · Confreaks · 53:21
- RailsConf 2014 - All the Little Things by Sandi Metz · Confreaks · 38:47
- The Soul of Erlang and Elixir • Sasa Juric • GOTO 2019 · GOTO Conferences · 42:02
- "Simple Made Easy" - Rich Hickey (2011) · Strange Loop Conference · 1:01:38
- What the heck is the event loop anyway? | Philip Roberts | JSConf EU · JSConf · 26:52
- Rich Harris - Rethinking reactivity · You Gotta Love Frontend · 36:45
- "Making Impossible States Impossible" by Richard Feldman · elm-conf · 25:06
- William Byrd on "The Most Beautiful Program Ever Written" [PWL NYC] · PapersWeLove · 1:31:05
- "Testing Distributed Systems w/ Deterministic Simulation" by Will Wilson · Strange Loop Conference · 40:20
- 🚀 TDD, Where Did It All Go Wrong (Ian Cooper) · DevTernity Conference · 1:03:55