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.
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.
29:43OpenAI Codex Live Demo
913K views • 5 years ago
OpenAI
OpenAI's 2021 live demo of Codex translating natural language into code, from Hello World to building a game and a Microsoft Word plugin.
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.
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.
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.
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.
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.
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.
24:44Zero to $10 Million with React Native + Next.js - Fernando Rojo - (Next.js Conf 2021)
57K views • 5 years ago
Vercel
Fernando Rojo explains how BeatGig reached $10M in sales with one frontend engineer by sharing code between React Native and Next.js, covering navigation, animation, theming and performance.
31:34Vibe Coding Is The Future
302K views • 1 year ago
Y Combinator
A Y Combinator video on vibe coding, the term Andrej Karpathy coined for letting LLMs write code. It reports what YC founders say about debugging, models and how much of their code is AI-written.
29:51Refterm v2 - Resource usage, binary splat, glyph sizing, and more
68K views • 5 years ago
Molly Rocket
Casey Muratori follows up his refterm proof-of-concept, a GPU-based terminal renderer, with a second part covering memory usage, glyph sizing and correct Unicode and VT handling. It is built to show that a terminal can be fast and correct without heroic effort.
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.
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.
23:32Inside a cheap set of eBay digital calipers
758K views • 5 years ago
bigclivedotcom
Big Clive tears down a cheap eBay digital caliper, explaining its capacitive linear encoder and measuring its quiescent current. He finds it surprisingly accurate and repeatable for its price.
24:28GPT-4 Developer Livestream
3.5M views • 3 years ago
OpenAI
OpenAI's livestream demo of GPT-4 with Greg Brockman, showing its capabilities and limitations. Highlights include writing code, turning a hand-drawn sketch into a website, and a tax-question example.
24:26The Beauty of Bézier Curves
2.2M views • 5 years ago
Freya Holmér
Freya Holmer explains how Bezier curves work, from the helper-line construction to their uses in animation, text rendering and shapes. It uses visuals from her Unity Shapes plugin and was a SoME1 contest winner.
27:14Transformers, the tech behind LLMs | Deep Learning Chapter 5
11.6M views • 2 years ago
3Blue1Brown
3Blue1Brown's visual explanation of how transformers and GPT-style language models work, tracing data through tokens, embeddings and attention.
44:23A Swift Introduction to Geometric Algebra
1.1M views • 6 years ago
sudgylacmoe
An animated introduction to geometric algebra, presented as a language that can describe most of physics. It was made with manim and covers multivectors and how they generalize familiar tools like cross products and quaternions.
26:10Attention in transformers, step-by-step | Deep Learning Chapter 6
4.8M views • 2 years ago
3Blue1Brown
3Blue1Brown's visual walkthrough of the attention mechanism inside transformers, covering self-attention, multiple heads and cross-attention. It is chapter 6 of his deep learning series.
57:03HACKENBUSH: a window to a new world of math
562K views • 5 years ago
Owen Maitzen
Owen Maitzen's animated hour-long introduction to Hackenbush, a simple combinatorial game, and how its strategy leads to surreal numbers and the roots of the number system.
28:12Shawn Douglas - Nanoscale Instruments for Visualizing Small Proteins & Bret Victor - Dynamicland
20K views • 4 years ago
Foresight Institute
A Foresight Institute workshop video with two talks: Shawn Douglas on nanoscale instruments for visualizing small proteins, and Bret Victor on Dynamicland. Victor's part shows biomolecular design built in his Realtalk system with physical objects.
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.
28:28What is PLUS times PLUS?
2.2M views • 1 year ago
2swap
2swap explores lambda calculus using John Tromp's lambda diagrams, with animated beta-reductions, asking what PLUS times PLUS gives. It touches on Church encodings and the equivalence of Turing machines and lambda calculus.
52:59Introducing Nx - José Valim | Lambda Days 2021
26K views • 5 years ago
Code Sync
Jose Valim introduces Nx, the project bringing numerical computing to Elixir, covering multi-dimensional tensors, automatic differentiation and JIT compilation to CPU and GPU.
40:15Bringing Types to Elixir by Giuseppe Castagna and Guillaume Duboc | ElixirConf EU 2023
7K views • 3 years ago
Code Sync
ElixirConf EU 2023 talk by Giuseppe Castagna and Guillaume Duboc on bringing set-theoretic types to Elixir, and the benefits such a type system could offer such as catching bugs.
24:46Painting a Character with Maths
458K views • 5 years ago
Inigo Quilez
Inigo Quilez live-codes a cartoon character painting entirely from math, using signed distance fields in a Shadertoy shader. He explains each step of building the image from formulas.
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.
40:13"Programming a 144-computer chip to minimize power" - Chuck Moore (2013)
19K views • 5 years ago
Strange Loop Conference
Chuck Moore, inventor of Forth, presents GreenArrays' 144-core asynchronous chip at Strange Loop 2013. He explains how idle cores draw almost no power and how tight code minimizes energy use.
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.
42:00I painted a Landscape with Mathematics
812K views • 4 years ago
Inigo Quilez
Inigo Quilez live-paints a mountain landscape using only math in a shader, building up from a basic polynomial noise surface through fractal terrain, lighting and atmosphere. The code runs in real time on Shadertoy so viewers can edit it as they follow along.
30:09Andrej Karpathy - AI for Full-Self Driving at Tesla
374K views • 6 years ago
Matroid
Andrej Karpathy, then Tesla's head of AI, presents at ScaledML 2020 on how Tesla builds full self-driving using vision-based neural nets and fleet data collection. He covers training custom detectors and neural nets gradually replacing traditional code.
34:55"Outperforming Imperative with Pure Functional Languages" by Richard Feldman
98K views • 5 years ago
Strange Loop Conference
Richard Feldman explains how pure functional languages can match or beat imperative ones on performance. Compilers can turn immutable code into in-place mutation, avoiding naive copying. The talk draws on his work on the Roc language.
23:38Interactive notebooks ~ Pluto.jl | Fons van der Plas | JuliaCon 2020
48K views • 6 years ago
The Julia Programming Language
Fons van der Plas introduces Pluto.jl, a reactive notebook for Julia that tracks references between cells and re-runs affected cells when code changes. The talk was given at JuliaCon 2020.