size optimization
1:20:33Lecture 1 | Convex Optimization I (Stanford)
753K views • 18 years ago
Stanford
The introductory lecture of Stephen Boyd's Stanford Convex Optimization I course (EE 364A). It outlines convex sets, functions and problems, and the course's coverage of least-squares, linear and semidefinite programming, duality and interior-point methods.
12:04How we fit an NES game into 40 Kilobytes
3.7M views • 8 years ago
Morphcat Games
Morphcat Games explains how they fit Micro Mages, a full-featured NES game, into 40 kilobytes. It covers compression of sprites and level layouts and other space-saving tricks.
18:41Refterm Lecture Part 1 - Philosophies of Optimization
93K views • 5 years ago
Molly Rocket
Casey Muratori's first refterm lecture lays out philosophies of optimization, distinguishing optimization from non-pessimization, which means avoiding needless work. It uses his fast terminal renderer project to show how fast computers really are.
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.
1:30:03C++Now 2018: Matt Godbolt “What Else Has My Compiler Done For Me Lately?”
11K views • 8 years ago
CppNow
Matt Godbolt, creator of Compiler Explorer, tours surprising optimizations modern compilers perform, such as turning loops into closed-form sums and using popcount instructions. He explores what the compiler does behind the scenes.
1:02:17'Fastware' - Andrei Alexandrescu [ ACCU 2016 ]
34K views • 10 years ago
ACCU Conference
Andrei Alexandrescu's ACCU 2016 talk previews material from his book on writing fast code, with a focus on optimization techniques such as sentinels and faster search.
18:20FIXING the ENTIRE SM64 Source Code (INSANE N64 performance)
3.2M views • 4 years ago
Kaze Emanuar
Kaze Emanuar explains how he rewrote and optimized the Super Mario 64 source code so it runs far faster on real N64 hardware. He covers performance bottlenecks and fixes in detail for his ROM hacks.
6:51Star Size Comparison 2
48.7M views • 10 years ago
morn1415
A visual scale comparison of stars and cosmic objects, from planets up to some of the largest known stars, set to music. It is meant to convey the vastness of the universe.
13:14Did Nintendo really forget to Optimize Super Mario 64 ? | MVG
1.3M views • 6 years ago
Modern Vintage Gamer
Modern Vintage Gamer examines the claim from the Super Mario 64 decompilation project that the game shipped unoptimized, and puts it in the context of 1996 N64 development.
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.
1:33:022013 Keynote: Chandler Carruth: Optimizing the Emergent Structures of C++
34K views • 13 years ago
CppNow
Chandler Carruth's CppNow 2013 keynote on how C++ builds complex software from simple emergent structures, and how compilers optimize them through inlining and value semantics.
3:36Elevated by RGBA and TBC
974K views • 17 years ago
BUTTONTANG
Elevated is a 4 kilobyte PC demo by RGBA and TBC from Breakpoint 2009. It fly-throughs a realistic procedurally generated landscape with synthesized music and post-processing, all from a tiny executable.
1:24:36C++ Exceptions for Smaller Firmware - Khalil Estell - CppCon 2024
23K views • 1 year ago
CppCon
Khalil Estell's CppCon 2024 talk argues C++ exceptions can reduce binary size in firmware. He digs into how exceptions work and how to shrink their code footprint on embedded platforms.
19:25New computers don't speed up old code
187K views • 1 year ago
Matthias random stuff
Matthias Wandel tests old and new code on a range of PCs, including a new mini PC, to measure how much faster modern hardware really is. He also shows optimization techniques such as branchless code, with benchmark programs on GitHub.
8:44A4 Paper Is Too Perfect
10.5M views • 5 years ago
CGP Grey
CGP Grey explains the elegant ratio of A4 and the metric paper sizes, then zooms out across scales from the Planck length to the observable universe.
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.
6:18The Voder: 1939, the worlds first electronic voice synthesizer
332K views • 9 years ago
Brian Roemmele
A short look at the Voder, the first electronic voice synthesizer, demonstrated by Bell Labs at the 1939 World's Fair. It was operated by trained women using ten finger keys, foot pedals and a knee lever.
2:03Guam will Capsize and Tip Over into the ocean Hank Johnson
3.6M views • 15 years ago
Andrew's Arcade
A 2-minute clip of US Representative Hank Johnson telling a congressional hearing he feared Guam would become so overpopulated that it would tip over and capsize. Johnson later said he was joking.
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.
1:13:41CppCon 2014: Chandler Carruth "Efficiency with Algorithms, Performance with Data Structures"
235K views • 12 years ago
CppCon
Chandler Carruth's CppCon 2014 talk on writing fast C++, explaining why data structure choice and memory layout matter more than clever algorithms. It covers why standard containers like unordered_map perform poorly on modern CPUs.
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.
1:29:55Sorting Algorithms: Speed Is Found In The Minds of People - Andrei Alexandrescu - CppCon 2019
184K views • 7 years ago
CppCon
Andrei Alexandrescu's CppCon 2019 talk revisits sorting, showing how branchless tricks, hybrid strategies and a cost metric can speed up std::sort-style algorithms on modern hardware.
1:15:46CppCon 2017: Matt Godbolt “What Has My Compiler Done for Me Lately? Unbolting the Compiler's Lid”
178K views • 9 years ago
CppCon
Matt Godbolt's CppCon 2017 talk shows what modern compilers do with your C++ code, using Compiler Explorer to inspect generated assembly. It covers surprising optimizations and how the tool works.
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.
7:15Farbrausch - fr-041: debris. [HD]
229K views • 17 years ago
kb
Debris by Farbrausch, the winner of the Breakpoint 2007 demo competition. All of its 3D visuals, textures and music come from a single 177 KB executable.
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.
4:05Teenage engineering OP1 - Live looping [Thoj]
368K views • 11 years ago
Thoj
Musician Thoj performs a live looping session on the Teenage Engineering OP-1 synthesizer, building a deep house track layer by layer.
3:05Hartverdrahtet - Akronyme Analogiker | 4k Revision 2012
340K views • 14 years ago
Demoscene High-Quality Videos (Annikras)
Hartverdrahtet by Akronyme Analogiker, the winning PC 4k intro at Revision 2012. It is a realtime demo with music and fractal visuals in 4096 bytes.
4:33Eduard Artemyev - Siberiade theme (1979)
2.1M views • 18 years ago
gobodrodiont
The main theme from Eduard Artemyev's score to the 1979 Soviet film Siberiade, an electronic piece that features the ANS synthesizer.
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.
16:33Yamaha DX7 - the 32 classic factory patches
2M views • 14 years ago
SynthMania
A run through the 32 factory presets of the Yamaha DX7 FM synthesizer, with timestamps for each patch such as brass, strings, pianos, bass and tubular bells. It is a straight audio demo of the sounds.
0:39Slime mold form a map of the Tokyo-area railway system
800K views • 16 years ago
Harvard Magazine
A one-minute clip of slime mold placed on a map with food at the cities around Tokyo, growing a network that approximates the Tokyo-area railway system.
3:36elevated by Rgba & TBC | 4k intro (FullHD 1080p demoscene demo)
317K views • 15 years ago
Demoscene High-Quality Videos (Annikras)
Elevated by Rgba and TBC, the winner of the 4k intro compo at Breakpoint 2009. It is a realtime procedurally generated 3D flythrough with music, all in a 4096-byte executable.
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.
2:22A Mind Is Born (256 bytes)
1.2M views • 9 years ago
lftkryo
A Commodore 64 demo by Linus Akesson that fits video and music into 256 bytes, winning the Oldskool 4K Intro compo at Revision 2017. A technical write-up accompanies it.