compiler optimization
52:21ASPLOS Keynote: The Golden Age of Compiler Design in an Era of HW/SW Co-design by Dr. Chris Lattner
52K views • 5 years ago
SiFive
Chris Lattner's ASPLOS 2021 keynote on the golden age of compiler design in an era of hardware and software co-design, covering compiler infrastructure for accelerators and unifying hardware IRs.
1:35:12Modernizing Compiler Design for Carbon Toolchain - Chandler Carruth - CppNow 2023
71K views • 3 years ago
CppNow
Chandler Carruth's CppNow 2023 talk on modernizing compiler design for the Carbon toolchain, using data-oriented design and modern hardware assumptions. It covers lexing, parsing and compact data structures aimed at compiler performance.
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.
Topic match · Compilers, interpreters & program analysis
47:51Brandt Bucher – A JIT Compiler for CPython
14K views • 2 years ago
encukou
Brandt Bucher presents his prototype JIT compiler for CPython at the 2023 Core Developer Sprint. He explains the copy-and-patch approach, the implementation and its performance.
43:20Zig Roadmap 2023 - Andrew Kelley
77K views • 4 years ago
Zig SHOWTIME
Andrew Kelley's roadmap talk on upcoming Zig compiler milestones, focused on compilation speed. It was given at a Zig community event in 2022.
Topic match · Compilers, interpreters & program analysis
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.
13:45A 10x faster TypeScript
608K views • 1 year ago
Microsoft Developer
Anders Hejlsberg introduces the native port of the TypeScript compiler, written in Go, which promises roughly 10x faster tooling. He demos compiling VS Code and explains where the speedup comes from.
Topic match · Compilers, interpreters & program analysis
1:01:31TypeScript is being ported to Go | interview with Anders Hejlsberg
102K views • 1 year ago
Michigan TypeScript
An interview with Anders Hejlsberg, lead architect of TypeScript, about porting the TypeScript compiler to Go. He covers the 10x type-checking speedup, lower memory use, and why Go was chosen.
Topic match · Compilers, interpreters & program analysis
12:01React without memo
150K views • 4 years ago
React Conf
A React Conf talk by Xuan Huang previewing React Forget, a compiler that automatically memoizes components. It argues for making memoization the default so developers need not write useMemo or useCallback by hand.
Topic match · Compilers, interpreters & program analysis
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.
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.
Topic match · Compilers, interpreters & program analysis
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.
Topic match · Compilers, interpreters & program analysis
37:11CheerpX: a WebAssembly-based x86 virtual machine in the browser, Yuri Iozzelli
7K views • 6 years ago
WebAssembly NA
A talk by Yuri Iozzelli at a WebAssembly meetup on CheerpX, an x86 virtual machine running in the browser. It uses a JIT compiler that emits WebAssembly at runtime to run real native applications. It covers the architecture and demos such as porting a multiplayer C++ game.
Topic match · Compilers, interpreters & program analysis
2:42:41Chris Lattner: The Future of Computing and Programming Languages | Lex Fridman Podcast #131
594K views • 6 years ago
Lex Fridman
Lex Fridman's long interview with Chris Lattner, creator of LLVM and Swift, covering the future of computing and programming languages. It touches on compilers, hardware, and his work at Apple, Tesla, Google and SiFive.
Topic match · Compilers, interpreters & program analysis
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.
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.
3:34:04Chris Lattner: Future of Programming and AI | Lex Fridman Podcast #381
2M views • 3 years ago
Lex Fridman
Lex Fridman's long podcast conversation with Chris Lattner, creator of Swift, LLVM and MLIR and co-founder of Modular. Topics include the Mojo language, the future of programming and AI, and hardware.
Topic match · Compilers, interpreters & program analysis
49:482023 LLVM Dev Mtg - Mojo 🔥: A system programming language for heterogenous computing
61K views • 2 years ago
LLVM
A 2023 LLVM Developers' Meeting keynote by Abdul Dakkak, Chris Lattner and Jeff Niu introducing Mojo, a Python-family systems language built on MLIR and LLVM for heterogeneous computing.
Topic match · Compilers, interpreters & program analysis
1:00:23[#36] Zig Roadmap 2024 - Andrew Kelley
66K views • 2 years ago
Zig SHOWTIME
Andrew Kelley's 2024 Zig roadmap talk, followed by a Q&A, covers the language's priorities and the state of the project. Topics include compilation speed, moving off LLVM toward a self-hosted toolchain, async, and the path to 1.0.
Topic match · Compilers, interpreters & program analysis
46:40Andrew Kelley: A Practical Guide to Applying Data Oriented Design (DoD)
415K views • 2 years ago
ChimiChanga
Andrew Kelley, creator of Zig, presents practical data-oriented design techniques for shrinking memory footprint and making programs cache friendly. He ends with a case study of how these ideas sped up the Zig compiler.
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.
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.
5:33:21George Hotz | Programming | can tinygrad whisper? | AMD Rant | Giving up on AMD | Speech to Text
95K views • 3 years ago
george hotz archive
A long George Hotz live-stream from June 2023 in which he works on tinygrad and rants about AMD's drivers, ultimately declaring he is giving up on AMD. It also touches on hardware and compiler topics.
Topic match · Compilers, interpreters & program analysis
54:53Miguel de Icaza: Swift Godot: Fixing the Multi-million dollar mistake #GodotCon2023
27K views • 3 years ago
Godot Engine
Miguel de Icaza's GodotCon 2023 talk on Swift bindings for Godot. He argues that garbage-collector pauses in C# are a persistent problem and that Swift's reference counting avoids them.
Topic match · Compilers, interpreters & program analysis
47:52Parsing JSON Really Quickly: Lessons Learned
86K views • 6 years ago
InfoQ
Daniel Lemire's QCon talk on how simdjson parses gigabytes of JSON per second. It covers SIMD vectorization, branch prediction and the lessons learned building a fast parser.
Topic match · Compilers, interpreters & program analysis
1:44:18Browser hacking: Let's make "Cookie Clicker" playable in Ladybird!
15K views • 4 years ago
Andreas Kling
In a long live-coding session, Andreas Kling works on making the Cookie Clicker game playable in the Ladybird browser from SerenityOS. He tracks down bugs in the browser engine and fixes them.
Topic match · Compilers, interpreters & program analysis
1:24:39Mojo Lang - Tomorrow's High Performance Python? (with Chris Lattner)
64K views • 2 years ago
Developer Voices
Developer Voices interviews Chris Lattner about Mojo, a Python-compatible language aimed at CPU/GPU performance built on LLVM and MLIR. It covers performance features, the type system and why Mojo uses Python syntax.
Topic match · Compilers, interpreters & program analysis
22:17WWDC24: Go small with Embedded Swift | Apple
138K views • 2 years ago
Apple Developer
An Apple WWDC24 session introducing Embedded Swift, a subset of Swift with no runtime that targets tiny microcontrollers. It demonstrates the idea on an off-the-shelf Matter smart home device.
Topic match · Compilers, interpreters & program analysis
1:05:45I Interviewed The Creator Of LLVM, Clang, Swift, and Mojo
274K views • 2 years ago
The PrimeTime
ThePrimeagen interviews Chris Lattner, creator of LLVM, Clang, Swift and Mojo, with TJ DeVries, in a long live-streamed conversation. They discuss language design and Lattner's experience building Swift.
Topic match · Compilers, interpreters & program analysis
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.
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.
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.
43:58"The Economics of Programming Languages" by Evan Czaplicki (Strange Loop 2023)
141K views • 3 years ago
Strange Loop Conference
Evan Czaplicki, creator of Elm, examines how programming languages are funded. He looks at where compiler engineers' salaries come from, why Go has about 5 engineers while Dart has about 30, and how this limits language design.
2:46:27Why Greatness Cannot Be Planned — Kenneth Stanley
154K views • 5 years ago
Machine Learning Street Talk
A long Machine Learning Street Talk interview with Kenneth Stanley, creator of NEAT and novelty search, about his book on why greatness cannot be planned. They discuss open-endedness, the tyranny of objectives, serendipity and the evolution of ideas.
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.
1:24:15Why It's Rude to Suck at Warcraft
3.9M views • 3 years ago
Folding Ideas
Folding Ideas' long essay on why playing poorly in World of Warcraft feels rude. It traces how raiding culture shifted from relaxed fun to optimization, theorycrafting and wikis.
37:04The Story of RollerCoaster Tycoon | Noclip Greatest Hits
592K views • 5 years ago
/noclip
A Noclip Greatest Hits documentary on the legacy of RollerCoaster Tycoon, covering its original design, Chris Sawyer and the OpenRCT2 community that keeps it alive.
56:53A Brief History of the BSD Fast Filesystem by Marshall Kirk McKusick
878 views • 6 years ago
EuroBSDCon
Marshall Kirk McKusick gives a talk at EuroBSDCon tracing filesystem and storage development from 1979 to today, using the BSD Fast Filesystem as the focus. It covers early disk-geometry optimization through later contiguous layout and small-file performance work.