dotJS 2012 - Bert Belder
summary
Cloud9 engineers report concrete fixes: domains for boxed error handling that track timers, sockets and file handles and let code clean up on failure (adoption is low but they work), a reworked streams API that replaces blind data events with a readable pull model so callers request exact byte counts, and a transform stream and Stream base class that simplify implementing compressors, hashes and protocols. An emulation layer keeps existing npm modules working while the new Node stream primitives roll out. TLS/crypto ergonomics still need work.
AI-written summary · about
chapters (16)
- 0:00Introduction
- 2:00TCP statements
- 5:00Handling errors
- 6:03Other problems
- 8:20Domain
- 11:22Toolbox
- 12:10Documentation
- 12:56Propagation
- 14:23Streams
- 15:12Reading data
- 17:33Streams Base
- 18:21Transforms
- 18:41Transform class
- 19:32md5 hashing
- 20:03n82
- 20:27emulation layer
related talks
49mNode JS
41mBreaking Changes
40mNode.js: Where are we now, where are we going?
25mA JavaScript Parody: A Fun Journey through Hot Topics of Node.js and JS
34mYou Don't Know Node.js
53mUsing ECMAScript 6 today. Part II
40mIt's Not Just Node.js Anymore
37mWhat's New in JavaScript: Highlights from ECMAScript 2025
