size optimization
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
1:19:52CppCon 2016: Jason Turner “Rich Code for Tiny Computers: A Simple Commodore 64 Game in C++17”
264K views • 10 years ago
CppCon
Jason Turner's CppCon 2016 talk builds a simple Commodore 64 game using C++17, showing how constexpr and const let a modern compiler produce tight 6502 code. He walks through assembly output to show abstractions being optimized away.
1:15:51Jonathan Blow - How to program independent games - CSUA Speech
190K views • 13 years ago
Alexandre Franco
Jonathan Blow speaks at UC Berkeley's CSUA about how to program independent games. He argues for keeping code simple, avoiding unnecessary work, and shipping.
1:00:57DOOM: Behind the Music
1.8M views • 9 years ago
GDC Festival of Gaming
Mick Gordon's GDC 2017 session on composing the Doom (2016) soundtrack. He details his compositional process, production techniques and the experimental instrument and synth design behind the music.
1:00:07CppCon 2017: Carl Cook “When a Microsecond Is an Eternity: High Performance Trading Systems in C++”
357K views • 9 years ago
CppCon
Optiver's Carl Cook explains how to build high-frequency trading systems in C++, where the critical path runs rarely but must be extremely fast. He covers techniques for low and predictable latency, including avoiding main memory and cache misses.
11:02fr-08: .the .product by farbrausch | 64k intro (2000) (720p HQ demoscene demo)
197K views • 15 years ago
Demoscene High-Quality Videos (Annikras)
A recording of .the .product by Farbrausch, the first-place 64k intro at The Party 2000. It fits an 11-minute 3D demo with music into 64 kilobytes.
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.
19:28Scientific Studies: Last Week Tonight with John Oliver (HBO)
18.1M views • 10 years ago
LastWeekTonight
John Oliver's Last Week Tonight segment on how media outlets report incomplete or untrue findings as settled science. It covers sensational headlines, small studies and pressure on researchers.
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.
1:21:39Making R run Fast - Jan Vitek
860 views • 10 years ago
John O'Neill
Jan Vitek of Northeastern University gives a meetup talk on the challenges of making the R language run fast. He explains what in R's semantics makes it hard to optimize and to build a JIT compiler for.
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.
1:27Mars DOS demo by Tim Clarke (1993)
28K views • 13 years ago
Sean Barrett
A one-minute capture of Tim Clarke's 1993 'Mars' DOS demo, a roughly 5 KB program that renders a navigable terrain landscape in real time.
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.
8:338088 MPH by Hornet + CRTC + DESiRE (final version)
93K views • 11 years ago
andrewmjenner
The winning demo from Revision 2015's oldskool competition, running on a real 1981 IBM PC with CGA at 4.77MHz. It uses extreme tricks to produce effects, graphics and sound far beyond what the hardware was thought capable of.
5:21Flexible Muscle-Based Locomotion for Bipedal Creatures
1.9M views • 12 years ago
Goatstream
A 2013 research demo of simulated bipedal creatures whose natural gaits are found by optimizing muscle-based controllers, with no motion capture or keyframe animation. It shows physics-based walking and running emerging from musculoskeletal models.
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.
13:11Jordan Peterson - Controversial Facts about IQ
2.2M views • 9 years ago
Bite-sized Philosophy
A clip of psychologist Jordan Peterson lecturing on intelligence and IQ, covering how it is defined and its correlation with academic and work success.
5:15Jordan Peterson - Pareto Distributions
246K views • 9 years ago
Bite-sized Philosophy
A short clip of Jordan Peterson explaining Pareto distributions, using Soviet farm collectivization and the resulting famine as context. It also covers how outcomes concentrate in a few people.