Netflix JavaScript Talks - Async JavaScript with Reactive Extensions

Matt Marenghi · 69K views · 2014 · 28:39

Open on YouTube

Web developmentFunctional programmingtalkdated

Why Hacker News recommends it

Recommended as a clear, mind-changing introduction to observables and async programming from engineers using Rx in production.

What it is

A Netflix JavaScript talk on using Reactive Extensions (Rx) for asynchronous UI code. It covers Observables, composing events such as drag and drop, and sequencing Ajax requests.

Recommended by 5 HN commenters across 4 different months, 2014 to 2016.

What Hacker News said

Strong rec film42 · 2014-05 · on “Asynchronous JavaScript at Netflix”

The conf talk on youtube by Matt Marenghi [linked in the post] is really awesome. Provides great examples and resources. Really worth 28-min. Direct Link: [this video]

Strong rec sktrdie · 2016-06 · on “Async and Await”

I don't really like await . It seems to be a syntactical fix which acts in a quite magical way. Not sure if introducing magic to a language syntax is what we want. Rather, we should think about data flow of our async apps differently. I believe Observables are the future of async code. Once you grasp the concept that everything in your app can be transformed into streams of events, and you work with these events using chains of .map(), .filter(), .reduce(), etc. you'll grasp the true power of this paradigm and how well it fits async and/or concurrent apps. I suggest anybody that doesn't quite swallow the await syntax, to have a look at this presentation about Observables at Netflix as it's q

Recommends shaydoc · 2014-06 · on “Erik Meijer: Duality and the End of Reactive [video]”

i thought it was a good presentation, however, I recently watched a Netflix one, published by Matt Marenghi, which to me was infinitely better. I think the description of events as just another collection, albeit a time based collection flow was nicer ( Observable === Collection + Time ), and also that this collection must have the ability to tell you that it has terminated. [this video]

Recommends mattpodwysocki · 2014-06 · on “An Introduction to Reactive Programming”

It's not a fad at all, with Netflix and other companies using Rx in all flavors on their platforms. See this video from Jafar Husain, a tech lead at Netflix, talk about how they use RxJS at Netflix: [this video]

Recommends mattpodwysocki · 2014-06 · on “An Introduction to Reactive Programming”

Why not try watching the video from Jafar Husain, a tech lead from Netflix, talk about Async JavaScript at Netflix which uses RxJS to explain these concepts? [this video]

Recommends sriku · 2014-07 · on “My Golang UI package: lessons learned about threading and plans for the future”

Yes I meant what "Reactive Extensions" does. Should've been clearer that it was a reference to "functional reactive programming" and not a specific library. edit: "Async Javascript at Netflix" is a great talk on this - [this video]

Cites joubert · 2014-04 · on “Ask HN: Who is hiring? (April 2014)”

Netflix. We are reinventing how people watch television. My team is a group of seasoned engineers that craft JavaScript-based UI's for the living room. You will architect and develop user experiences that will reach millions of customers worldwide on PlayStation 3, PlayStation 4, Xbox360, Apple TV, Chromecast, Roku, and hundreds of Smart TVs and Blu-ray players. You can read more about our flagship UI here: [LINK] And here are some articles/videos where we've talked about our technical work: * Building the New Netflix Experience for TV [LINK] * WebKit in Your Living Room [LINK] * Recent Reactive JavaScript programming event: [this video] * Building the Netflix UI for WiiU [LINK] Message me if you

Cites staltz · 2015-06 · on “Pseudosynchronous JavaScript”

With RxJS, you can compose with existing Promise-based libraries, solve asynchronous programming (and error handling) in an elegant fashion with code that looks like simple linear chains (or DAGs) of Observables, and you don't need to give up non-blocking JS. [this video]