Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Stop "Shopping" for Libraries - The Battery-Included Runtime

JavaScript Conferences by GitNation via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Explore the revolutionary "Compressed Layers" architecture in this 18-minute conference talk by Jarred Sumner, creator of Bun, delivered at JSNation US. Discover why traditional JavaScript tooling remains fundamentally slow and how Bun's engineering philosophy aims to replace the fragmented Node.js ecosystem with a single, high-performance toolkit. Learn about the productivity-killing practice of "shopping for libraries" and understand how moving essential I/O, SQL clients, and utilities directly into the runtime using native code and SIMD optimizations can achieve performance improvements from 10x to 6000x faster. Examine the technical implementation of deferred task queues, batching syscalls, and native implementations of shell operations, WebSockets, and hashing functions. Understand why the runtime includes built-in support for Postgres, MySQL, and Redis databases, and how this "battery-included" philosophy compares to frameworks like Ruby on Rails. Gain insights into the hardware/software gap that prevents computers from feeling faster despite technological advances, and explore real-world production adoption examples from companies like MidJourney, Vercel, and DataDog. The talk also covers Node.js drop-in compatibility, instant npm installations, lockfile handling, and concludes with observations about AI-generated code's impact on the future of JavaScript runtimes, plus practical guidance on installing and running Bun.

Syllabus

00:00 - The Pivot: Why JavaScript tooling is fundamentally slow
01:12 - The "Compressed Layers" architecture 4 tools in 1
02:22 - The reality of Node.js drop-in compatibility
02:58 - Making npm install instant and handling Lockfiles
05:17 - Stop "Shopping" for Libraries: the productivity killer
06:10 - Native implementation: Shell, WebSockets and Hashing
07:19 - Why the runtime needs built-in Postgres, MySQL and Redis
09:12 - Engineering deep dive: deferred task queues and Batching Syscalls
10:43 - Native SIMD optimizations: from 10x to 6000x faster
12:02 - The "Battery-Included" philosophy: Bun vs. Ruby on Rails
13:39 - The Hardware/Software Gap: Why computers don't feel faster
14:24 - Production Adoption: MidJourney, Vercel and DataDog
16:43 - Jarred's Observation: AI-generated code & the future of runtimes
17:17 - Getting Started: The recommended way to install & run Bun

Taught by

JavaScript Conferences by GitNation

Reviews

Start your review of Stop "Shopping" for Libraries - The Battery-Included Runtime

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.