HackerTube
HomeLongsLikedHistoryWatch laterCategoriesPlaylistsSettings

Let's prototype a JavaScript JIT compiler!

Andreas KlingCited 4× on HN, 2023-2025
YouTube
49K views · 3 years ago · tutorial · evergreen

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.

HN commenters cite it as a concrete example of how a skilled developer uses Copilot, mostly as fancy autocomplete for codebase-specific work.

Compilers, interpreters & program analysisSoftware practice, open source & careers#jit#bytecodevm#libjs#ladybird#livecoding#c++

4 comments from Hacker News

@shakna2025 · in “This Month in Ladybird”

Ladybird is 425k LOC. Chromium is 3.5m LOC. Starting a new browser, using LLMs... Is not going to maintain enough context. Whilst Andreas does use Copilot a fair bit [0], he tends to do a line at a time, frequently disagree and rewrites his own, before prompting again. That is... He basically uses it as a fancy autocomplete. Not much else. [0] ▶ this video

CitesView on HN
@Nullabillity2023 · in “Krita AI Diffusion”

> Check out 6:05 and 6:25 in this Andreas Kling video for a good example: ▶ this video Oof. So not only was it a poor replacement for a macro, it didn't even generate the correct code!

CriticalView on HN
@Kiro2023 · in “Krita AI Diffusion”

> The code is usually the same code I'd get a few web searches away My impression is that people normally don't use Copilot as a substitute for finding solutions (ChatGPT is much better for that), but as a way to help with otherwise tedious tasks that are really specific to your codebase. Check out 6:05 and 6:25 in this Andreas Kling video for a good example: ▶ this video Regarding your second point Copilot helps me when I least expects it. I think the video illustrates what I mean with that as well.

CitesView on HN
@Kiro2023 · in “Stack Overflow announces 28% headcount reduction”

The stuff Copilot helps me with is not the stuff SO could help me with. Check out 6:05 and 6:25 in this Andreas Kling video: ▶ this video That's where Copilot shines, not for locating and copypasting answers from Stack Overflow.

CitesView on HN
Brandt Bucher – A JIT Compiler for CPython47:51

Brandt Bucher – A JIT Compiler for CPython

encukou
14K views • 2 years ago
Browser hacking: Let's make "Cookie Clicker" playable in Ladybird!1:44:18

Browser hacking: Let's make "Cookie Clicker" playable in Ladybird!

Andreas Kling
15K views • 4 years ago
Demo: Base language, compile-time execution2:07:18

Demo: Base language, compile-time execution

Jonathan Blow
164K views • 12 years ago
Episode 1: A basic expression evaluator1:38:36

Episode 1: A basic expression evaluator

Immo Landwerth (terrajobst)
284K views • 8 years ago
Cliff Click @ VMSS16: Bits of Advice For the VM Writer1:15:09

Cliff Click @ VMSS16: Bits of Advice For the VM Writer

softdevteamuk
4K views • 10 years ago
A 10x faster TypeScript13:45

A 10x faster TypeScript

Microsoft Developer
608K views • 1 year ago
Anders Hejlsberg on Modern Compiler Construction34:10

Anders Hejlsberg on Modern Compiler Construction

Kasper
25K views • 9 years ago
Twitter’s Quest for a Wholly Graal Runtime by Chris Thalinger50:11

Twitter’s Quest for a Wholly Graal Runtime by Chris Thalinger

Scala Days Conferences
3K views • 8 years ago
JVMLS 2015 - Java Goes AOT40:50

JVMLS 2015 - Java Goes AOT

Java
8K views • 11 years ago
A JVM Does That?52:38

A JVM Does That?

Google TechTalks
80K views • 15 years ago
Building Your Own Dynamic Language1:14:32

Building Your Own Dynamic Language

Stanford
21K views • 18 years ago
Compiling and Optimizing Scripting Languages1:01:37

Compiling and Optimizing Scripting Languages

Google TechTalks
21K views • 17 years ago
JVMLS 2015 - Compilers are Databases1:08:52

JVMLS 2015 - Compilers are Databases

Java
16K views • 11 years ago
Andy Keep - Writing a Nanopass Compiler40:48

Andy Keep - Writing a Nanopass Compiler

ClojureTV
29K views • 12 years ago
Java on a 1000 Cores - Tales of Hardware / Software CoDesign1:12:02

Java on a 1000 Cores - Tales of Hardware / Software CoDesign

Google TechTalks
23K views • 17 years ago
ReactiveConf 2017 - Tom Dale: Secrets of the Glimmer VM33:23

ReactiveConf 2017 - Tom Dale: Secrets of the Glimmer VM

ReactiveConf
3K views • 8 years ago
Zig Roadmap 2023 - Andrew Kelley43:20

Zig Roadmap 2023 - Andrew Kelley

Zig SHOWTIME
77K views • 4 years ago
"Stop Writing Dead Programs" by Jack Rusher (Strange Loop 2022)43:04

"Stop Writing Dead Programs" by Jack Rusher (Strange Loop 2022)

Strange Loop Conference
468K views • 4 years ago
APL at Julia's Speed | Shashi Gowda | JuliaCon 20168:34

APL at Julia's Speed | Shashi Gowda | JuliaCon 2016

The Julia Programming Language
3K views • 10 years ago
Chris Seaton @ VMSS16: JRuby+Truffle: Why it’s Important to Optimise the Tricky Parts1:02:44

Chris Seaton @ VMSS16: JRuby+Truffle: Why it’s Important to Optimise the Tricky Parts

softdevteamuk
5K views • 10 years ago