code visualization
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.
7:49Your Post Code Is the Directions, Not the Destination
3.9M views • 1 year ago
CGP Grey
CGP Grey explains that postal codes are routing instructions for mail rather than geographic regions. He looks at the quirks and problems this causes.
20:05But what are Hamming codes? The origin of error correction
3.1M views • 6 years ago
3Blue1Brown
3Blue1Brown's discovery-oriented introduction to error correction codes, building up Hamming codes from the puzzle of locating a flipped bit. It explains the parity-check idea and why it is so efficient.
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.
35:13I built a QR code with my bare hands to see how it works
9.7M views • 2 years ago
Veritasium
Veritasium builds a QR code by hand to explain how it works. It covers the history of Morse code and barcodes, how QR codes encode data, why damaged codes still scan, and how safe they are.
2:03the rapidly dwindling sanity of valve programmers as expressed through code comments
5.5M views • 6 years ago
shounic
A short video that reads out comments from the leaked Team Fortress 2 source code to show the frustration of Valve's programmers over time.
43:40DEF CON 29 - Richard Henderson - Old MacDonald Had a Barcode, E I E I CAR
18K views • 5 years ago
DEFCONConference
A DEF CON 29 talk by Richard Henderson about encoding the EICAR antivirus test string into QR codes and barcodes and scanning them at real systems. Many systems that do not expect such input misbehave or collapse, including a parking garage system.
46:01Exploring Sid Meier's Pirates! - BASIC Code, Quirks, Bugs on Commodore 64
115K views • 5 years ago
8-Bit Show And Tell
8-Bit Show And Tell walks through the BASIC source code of the original Commodore 64 Sid Meier's Pirates!. It covers bugs, quirks and traces of abandoned features and scenarios left in the code.
25:01Dan Abramov The wet codebase
27K views • 5 years ago
eswarnichtsmehrfrei
Dan Abramov's talk on the wet codebase, using visualizations to show how removing all duplication too early produces wrong abstractions that are hard to unwind.
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.
42:21Where Does Bad Code Come From?
282K views • 5 years ago
Molly Rocket
Casey Muratori's invited lecture on where bad code comes from, rebroadcast from a Twitch stream. He critiques conventional wisdom such as SOLID and Clean Code and argues about how those habits lead to slow, poorly structured software.
4:01Spherical Geometry Is Stranger Than Hyperbolic - Hyperbolica Devlog #2
1.8M views • 6 years ago
CodeParade
CodeParade's short devlog on how spherical geometry looks in 2D and 3D and why it feels so unusual, part of the Hyperbolica series on a non-Euclidean game.
39:26"Cursorless: A spoken language for editing code" by Pokey Rule (Strange Loop 2023)
59K views • 3 years ago
Strange Loop Conference
Pokey Rule presents Cursorless, a spoken language designed for editing code by voice, built on tree-sitter parsing with smart structural and simple token-level primitives. The talk is from Strange Loop 2023.
16:04One Typo, Wrong Continent
11.6M views • 3 years ago
CGP Grey
CGP Grey explains why airport codes are inconsistent and sometimes confusing, from their origins in old weather station codes to the quirks that cause mistakes. He builds the story around a single typo that sent a flight to the wrong continent.
2:16:18Hot Code Reloading in C
94K views • 3 years ago
Tsoding Daily
A long Tsoding Daily programming stream in which he implements hot code reloading in C by loading a dynamic library at runtime without stopping the main program. It also touches on migrating struct versions across reloads.
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.
52:34The Next Programming Language - Douglas Crockford - code::dive 2022
55K views • 3 years ago
code::dive conference
Douglas Crockford's code::dive 2022 talk on what the next programming language should look like. He presents ideas behind his Misty language, including message-passing actors.
1:56:20Let's build GPT: from scratch, in code, spelled out.
8.2M views • 3 years ago
Andrej Karpathy
Andrej Karpathy builds a GPT from scratch in code, following Attention Is All You Need and GPT-2/3, in about two hours using PyTorch. He connects it to ChatGPT and assumes familiarity with his earlier makemore videos.
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.
1:00:49The Art of Code - Dylan Beattie
4.9M views • 6 years ago
NDC Conferences
Dylan Beattie's NDC London talk on code written for art, fun and curiosity rather than utility. It includes quines, live music programming with Sonic Pi, and a memorable closing.
2:50:14Simple Code, High Performance
463K views • 5 years ago
Molly Rocket
Casey Muratori's University of Twente guest lecture is a case study in how straightforward code can cut thousands of lines and tens of seconds of runtime down to a few dozen lines running in under a second. It uses concrete examples to show why software is often an order of magnitude slower than it should be.
11:33A new way to visualize General Relativity
3.6M views • 6 years ago
ScienceClic English
ScienceClic explains why the rubber sheet analogy for general relativity is misleading and offers a new visualization that includes the curvature of time and shows gravity as motion through curved spacetime.
59:20Plain Text - Dylan Beattie - NDC Copenhagen 2022
194K views • 4 years ago
NDC Conferences
Dylan Beattie's conference talk explores the history and mess behind plain text: encodings, Unicode, line endings and the many ways text goes wrong. It argues that the tidy idea of plain text hides a lot of complexity underneath everyday software.
6:35The Maths of General Relativity (1/8) - Spacetime and Worldlines
421K views • 5 years ago
ScienceClic English
The first of an eight-part ScienceClic series building general relativity, covering worldlines, proper time and coordinate systems with animated visualizations.
1:12:43Ocarina of Time TAS by dwangoAC, TASBot, Savestate, Sauraen in 53:05 - Summer Games Done Quick 2022
564K views • 4 years ago
Games Done Quick
A tool-assisted speedrun of Ocarina of Time at Summer Games Done Quick 2022, using TASBot and arbitrary code execution to reach an alternate ending in about 53 minutes. The run is introduced by its creators and followed by an interview.
4:09:16Implementing (part of) a BitTorrent client in Rust
115K views • 3 years ago
Jon Gjengset
Jon Gjengset's roughly four-hour live stream implementing part of a BitTorrent client in Rust, following CodeCrafters' test-guided challenge. He builds from scratch and shows idiomatic error handling along the way.
1:21:25Let's prototype a JavaScript JIT compiler!
49K views • 3 years ago
Andreas Kling
Andreas Kling live-codes a prototype JavaScript JIT compiler for the LibJS engine used in SerenityOS and Ladybird. He builds a standalone bytecode VM, a simple interpreter, and then a simple JIT in about 80 minutes.
5:38:11The Secrets of Monkey Island - An Evening With Ron Gilbert
71K views • 5 years ago
The Video Game History Foundation
A very long livestream in which Ron Gilbert and Frank Cifaldi look at the making of The Secret of Monkey Island, including its SCUMM source code, which they edit and recompile live.
1:01:46GigCityElixir23 - Bryan Hunter
10K views • 3 years ago
Groxio
Bryan Hunter's GigCityElixir 2023 talk on HCA Healthcare's Waterpark system, built on Elixir/Erlang. It describes how the architecture is distributed and fault-tolerant, with a multi-datacenter cluster and runtime code swapping.
2:13:35Let's build the GPT Tokenizer
1.3M views • 2 years ago
Andrej Karpathy
Andrej Karpathy builds the GPT tokenizer from scratch, implementing byte pair encoding along with encode and decode. He shows how many odd LLM behaviors trace back to tokenization, and covers Unicode byte encodings along the way.
1:04:48"Performance (Really) Matters" with Emery Berger
7K views • 6 years ago
Association for Computing Machinery (ACM)
Emery Berger argues that performance is hard to measure and deliver on modern systems, showing how code layout and link order can swamp optimization effects. He presents tools that evaluate performance more reliably.
1:00:26Colossus - The Greatest Secret in the History of Computing
1M views • 6 years ago
The Centre for Computing History
Chris Shore of the Centre for Computing History explains how Colossus was built, how it worked, and how it affected the course of World War II. It is an hour-long museum lecture on the codebreaking computer.
12:20I Solved Klotski
2.1M views • 1 year ago
2swap
2swap explains how he solved the Klotski sliding-block puzzle by mapping its full state space as a graph and visualizing it. The video includes footage of the Guinness world-record solve and links to an interactive graph.
15:53Quantum Field Theory visualized
2.7M views • 6 years ago
ScienceClic English
ScienceClic gives a 15-minute animated introduction to quantum field theory, covering fields, spin, conserved quantities, the standard model and interactions.
29:25Rust NYC: Jon Gjengset - Demystifying unsafe code
27K views • 6 years ago
Rust Programming Language
Jon Gjengset's Rust NYC talk explaining what `unsafe` in Rust actually means, why it is dangerous, and why it is sometimes necessary. He works through the Rustonomicon to separate fair concerns from overblown ones.
20:01PDE: A different take on editing code
88K views • 4 years ago
TJ DeVries
TJ DeVries coins the term PDE (Personalized Development Environment) to describe editors like Neovim that you shape to your own workflow. He contrasts this with out-of-the-box IDEs and discusses why customizable tools appeal to developers.
42:15violin plots should not exist
289K views • 3 years ago
Angela Collier
Physicist Angela Collier rants for 42 minutes about why violin plots are a poor way to show data, citing papers on violin and bean plots. It is part lecture on how to read distributions and part opinionated critique.
12:10Why North America Can't Build Nice Apartments (because of one rule)
2.2M views • 2 years ago
About Here
About Here explains how North American building codes requiring two staircases make small multi-story apartment buildings hard to build, and contrasts this with places that allow single-stair designs.
33:07So how does a PS/2 keyboard interface work?
570K views • 5 years ago
Ben Eater
Ben Eater explains how the PS/2 keyboard interface works, covering its clocked serial protocol and scancodes. He builds up the hardware-level understanding needed to read keypresses.
9:40HACKERS | Just the Hacking Scenes | MGM Studios
209K views • 4 years ago
Amazon MGM Studios
A compilation of the hacking scenes from the 1995 film Hackers, featuring flashy visualizations of computer intrusion.