size optimization
31:19CppCon 2016: Nicholas Ormrod “The strange details of std::string at Facebook"
122K views • 10 years ago
CppCon
Nicholas Ormrod's CppCon 2016 talk on how Facebook optimizes std::string with its open-source replacement fbstring. It covers storage layout tradeoffs, small string optimization and memory allocation behavior.
59:11How to Speed up a Python Program 114,000 times.
171K views • 13 years ago
InfoQ
David Schachter describes how he made a data-collection Python program run 114,000 times faster, drawing on decades of experience. The talk covers pipelining, cache effects and other optimization lessons.
44:05FreeBSD optimizations used by Netflix serving at 800Gb/s - Drew Gallatin - EuroBSDcon 2022
28K views • 4 years ago
EuroBSDCon
Netflix engineer Drew Gallatin's EuroBSDcon 2022 talk quantifies the older FreeBSD optimizations that let Netflix serve web traffic at 800Gb/s, including TSO, LRO, VM page cache zones, asynchronous sendfile and unmapped mbufs.
26:41Finding the BEST sine function for Nintendo 64
418K views • 3 years ago
Kaze Emanuar
Kaze Emanuar searches for the best sine approximation for the Nintendo 64, comparing the lookup tables in Mario 64 and Ocarina of Time with polynomial alternatives. It walks through numerics and 3rd, 4th and 5th order approximations.
28:47Someone improved my code by 40,832,277,770%
3.1M views • 4 years ago
Stand-up Maths
Matt Parker follows the community effort to speed up his slow Wordle-solving code, which ended up running hundreds of millions of times faster. He walks through the techniques contributors used.
42:15"Performance Matters" by Emery Berger
502K views • 7 years ago
Strange Loop Conference
Emery Berger explains why performance is hard to measure and deliver on modern hardware, showing how code layout and alignment can swamp optimization effects. He presents Stabilizer for statistically sound evaluation and Coz, a causal profiler.
56:12Intro to Synthesis Part 1 - The Building Blocks of Sound & Synthesis
711K views • 14 years ago
matrixsynth
Dean Friedman's near-hour-long introduction to synthesis, covering the building blocks of sound and the controls on a synthesizer. He slowly adjusts knobs so viewers hear what each parameter does.
56:39Alan Kay - Programming and Scaling
36K views • 11 years ago
Colin McDonnell
An Alan Kay talk on programming and scaling, covering theoretical limits of code size, engineering versus tinkering, and biological cells as inspiration for object-oriented design.
40:21Bitcoin - Unmasking Satoshi Nakamoto
1.6M views • 6 years ago
Barely Sociable
Barely Sociable presents a case that Bitcoin creator Satoshi Nakamoto is cryptographer Adam Back. It uses interview clips and circumstantial evidence, and also touches on the block size dispute.
57:39CppCon 2016: Chandler Carruth “Garbage In, Garbage Out: Arguing about Undefined Behavior..."
94K views • 10 years ago
CppCon
Chandler Carruth's CppCon 2016 talk tries to defuse the heated debate over undefined behavior in C and C++. He explains from the compiler writer's perspective why UB exists and how it enables optimization.
20:34How big is a visible photon?
793K views • 5 years ago
Huygens Optics
Huygens Optics shows through a laser interference experiment that the question of a photon's size is really about coherence length. It argues that photons exist as energy exchanges between radiation and matter, not as little particles in free space.
28:10CANDO: A Compiled Programming Language for Computer-Aided Nanomaterial Design and Optimization
3K views • 10 years ago
European Lisp Symposium
Christian Schafmeister presents CANDO at the 2016 European Lisp Symposium. It is a compiled Lisp-based language for designing macromolecules and nanoscale materials, built on the Clasp implementation of Common Lisp.
32:35I.O.U.S.A.: Byte-Sized - The 30 Minute Version
770K views • 18 years ago
IOUSAtheMovie
A 30-minute condensed version of the documentary I.O.U.S.A., which examines the growing US national debt and its consequences.
31:37How Crash Bandicoot Hacked The Original Playstation | War Stories | Ars Technica
5.2M views • 6 years ago
Ars Technica
In Ars Technica's War Stories, Naughty Dog co-founder Andy Gavin explains how the team squeezed Crash Bandicoot onto the original PlayStation. They overwrote Sony library code in RAM, built custom animation compression, and streamed assets around slow seek times.
51:04[EPILEPSY WARNING] How fast should an unoptimized terminal run?
193K views • 5 years ago
Molly Rocket
Casey Muratori shows how fast a terminal renderer can run, building a simple reference renderer that handles Unicode and colored text far quicker than Windows Terminal. He argues that common excuses for slow terminals do not hold up.
35:07These Stupid Trucks are Literally Killing Us
7.3M views • 3 years ago
Not Just Bikes
Not Just Bikes explains how SUVs and light trucks have grown in size and share of US sales, and why that is dangerous for pedestrians, cyclists and city life. He covers the regulatory loopholes, such as fuel economy rules and the chicken tax, that favored them.
22:41"Clean" Code, Horrible Performance
1.2M views • 3 years ago
Molly Rocket
Casey Muratori shows how typical 'clean code' object-oriented patterns can cost large factors in performance. He benchmarks them against simpler data-oriented code.
25:52Halide Talk
53K views • 12 years ago
Andrew Adams
Andrew Adams, a Halide developer, presents the Halide language for image processing and tensor computation. The talk explains the separation of algorithm from schedule with illustrated examples of parallelism, locality and redundancy tradeoffs.
27:08Peter Rizun, Andrew Stone -- 1 GB Block Tests -- Scaling Bitcoin Stanford.
12K views • 8 years ago
OnChain Scaling
Peter Rizun and Andrew Stone present results of tests running 1 GB blocks on a Bitcoin test network at Scaling Bitcoin Stanford. The talk argues for big-block scaling and discusses its consequences.
50:31How Modern SQL Databases Come up with Algorithms that You Would Have Never Dreamed Of by Lukas Eder
55K views • 9 years ago
Devoxx
Lukas Eder's Devoxx talk on how modern cost-based SQL optimizers rewrite and plan queries in ways developers would not expect. It argues that declarative SQL, used well, can run complex queries very fast.
20:03Can you fit a whole game into a QR code?
9M views • 6 years ago
MattKC
MattKC fits a playable Snake game into a QR code by writing tiny x86 machine code and patching the ZBar scanner so it can run the decoded data.
42:39Bloat: How and Why UNIX Grew Up (and Out) - Rusty Russell,Matt Evans
21K views • 14 years ago
Linux.conf.au 2012 -- Ballarat, Australia
Rusty Russell and Matt Evans examine why Unix utilities like ls and cat grew from a few kilobytes to over a hundred kilobytes. They take apart common tools to see where the growth comes from.
40:50JVMLS 2015 - Java Goes AOT
8K views • 11 years ago
Java
Christian Thalinger presents at the 2015 JVM Language Summit on adding ahead-of-time compilation to the JVM, covering the HotSpot team's AOT work and its relation to warmup and deoptimization.
25:13Thinking outside the 10-dimensional box
3.2M views • 9 years ago
3Blue1Brown
3Blue1Brown visualizes high-dimensional spheres to explain a surprising puzzle about how a sphere fits in a box as dimensions grow. It builds geometric intuition for counterintuitive properties of high-dimensional space.
54:12OOPSLA Conference: Growing a Language
24K views • 6 years ago
Computer History Museum
Guy Steele's classic 1998 OOPSLA keynote on how a programming language must grow with its user community. He delivers it in a playful style, starting with only monosyllabic words and defining new terms as he goes.
48:55Pythagoras' theorem (a) | Math History | NJ Wildberger
517K views • 15 years ago
Insights into Mathematics
The first lecture of N J Wildberger's History of Mathematics course, starting with Pythagoras' theorem and following Stillwell's text. It emphasizes the flow of ideas over proofs.
50:28Competition is for Losers with Peter Thiel (How to Start a Startup 2014: 5)
2.5M views • 9 years ago
Y Combinator
Peter Thiel's lecture from the How to Start a Startup course on business strategy and monopoly theory, arguing that competition destroys profits and that startups should aim to build monopolies. It covers the ideas of Zero to One.
23:46How To Count Past Infinity
29.7M views • 10 years ago
Vsauce
Vsauce's Michael Stevens takes viewers past infinity using transfinite numbers, ordinals and cardinals, with input from mathematician Hugh Woodin. It is a fast-paced, mind-bending tour of different sizes of infinity.
59:388 Frames in 16ms: Rollback Networking in Mortal Kombat and Injustice 2
94K views • 7 years ago
GDC Festival of Gaming
A 2018 GDC talk by NetherRealm's Michael Stallone on the engine changes, optimizations and tooling needed to roll back and re-simulate up to 8 frames in 16 ms in Mortal Kombat and Injustice 2. It is a deep dive into deterministic rollback netcode.
32:55Neom - The Line - The Rise and Fall of Saudi Arabia's Linear City.
3.2M views • 2 years ago
Patrick Boyle
Patrick Boyle's deadpan account of Saudi Arabia's Neom and The Line megaproject, a planned 170 km linear city that has been scaled back to a fraction of its size. He covers the feasibility problems and the financing.
26:46DjangoCon 2022 | From React to htmx on a real-world SaaS product: we did it, and it's awesome!
109K views • 4 years ago
DjangoCon Europe
David Guillot describes how his team replaced a two-year-old React UI of their SaaS product with Django templates and htmx in a couple of months. The talk gives concrete indicators on code size, performance and team impact.
30:33Paul Graham at Startup School 08
82K views • 17 years ago
startupschool
Paul Graham speaks at Startup School 2008 about how to create a successful startup. His talk emphasizes being good, not just avoiding being evil, as a strategic advantage.
40:34Charlie Marsh: uv: An Extremely Fast Python Package Manager
107K views • 2 years ago
Jane Street
Charlie Marsh of Astral explains how uv, a Rust Python package manager, got so fast. He covers allocators, concurrency, zero-copy tricks and the challenges of Python packaging.
41:09ClojureScript for Skeptics - Derek Slager
72K views • 10 years ago
ClojureTV
Derek Slager's Clojure/conj talk argues that ClojureScript is a pragmatic choice for web development. He addresses common objections, recent improvements, tooling and use cases where it shines.
28:44Arcologies
397K views • 10 years ago
Isaac Arthur
An Isaac Arthur episode on arcologies, self-sufficient habitats that could house whole cities, on Earth or on harsh worlds. It covers how such structures might work and what limits their size.
55:28Erlang Factory SF 2016 Keynote Phoenix and Elm – Making the Web Functional
23K views • 10 years ago
Erlang Solutions
A joint Erlang Factory 2016 keynote by Phoenix creator Chris McCord and Elm creator Evan Czaplicki on using the two together, including Phoenix.Presence design and PubSub optimizations.
27:25How American Fire Departments are Getting People Killed
2M views • 2 years ago
Not Just Bikes
Not Just Bikes argues that oversized American fire trucks and fire department requirements push cities toward wide roads and dangerous street design. He compares this with the Dutch approach to emergency response.
29:51Keynote: What is a Component (and Why)? - Luke Wagner, Distinguished Engineer, Fastly
7K views • 3 years ago
The Linux Foundation
Luke Wagner of Fastly explains what a WebAssembly component is, how it relates to familiar concepts, and what the Component Model enables. It emphasizes security, composability and modularity.
30:57The Rivian Electric Amazon Delivery Van Is Highly Innovative and Incredibly Cool
2.7M views • 3 years ago
Doug DeMuro
Doug DeMuro reviews the Rivian electric delivery van built for Amazon, walking through its quirks, features and design innovations. It is a long, detailed tour of the vehicle inside and out.
55:20Makepad: Designing modern UIs with Rust - Rik Arends - RustNL 2023
60K views • 3 years ago
RustNL
Rik Arends presents Makepad, a Rust UI framework, at RustNL 2023. The talk covers designing modern, GPU-fast UIs with Rust and includes live-coded demos of an IDE and a synthesizer.