Let's prototype a JavaScript JIT compiler!
Andreas KlingCited 4× on HN, 2023-2025
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.
47:51Brandt Bucher – A JIT Compiler for CPython
encukou
14K views • 2 years ago
1:44:18Browser hacking: Let's make "Cookie Clicker" playable in Ladybird!
Andreas Kling
15K views • 4 years ago
2:07:18Demo: Base language, compile-time execution
Jonathan Blow
164K views • 12 years ago
1:38:36Episode 1: A basic expression evaluator
Immo Landwerth (terrajobst)
284K views • 8 years ago
1:15:09Cliff Click @ VMSS16: Bits of Advice For the VM Writer
softdevteamuk
4K views • 10 years ago
13:45A 10x faster TypeScript
Microsoft Developer
608K views • 1 year ago
34:10Anders Hejlsberg on Modern Compiler Construction
Kasper
25K views • 9 years ago
50:11Twitter’s Quest for a Wholly Graal Runtime by Chris Thalinger
Scala Days Conferences
3K views • 8 years ago
40:50JVMLS 2015 - Java Goes AOT
Java
8K views • 11 years ago
52:38A JVM Does That?
Google TechTalks
80K views • 15 years ago
1:14:32Building Your Own Dynamic Language
Stanford
21K views • 18 years ago
1:01:37Compiling and Optimizing Scripting Languages
Google TechTalks
21K views • 17 years ago
1:08:52JVMLS 2015 - Compilers are Databases
Java
16K views • 11 years ago
40:48Andy Keep - Writing a Nanopass Compiler
ClojureTV
29K views • 12 years ago
1:12:02Java on a 1000 Cores - Tales of Hardware / Software CoDesign
Google TechTalks
23K views • 17 years ago
33:23ReactiveConf 2017 - Tom Dale: Secrets of the Glimmer VM
ReactiveConf
3K views • 8 years ago
43:20Zig Roadmap 2023 - Andrew Kelley
Zig SHOWTIME
77K views • 4 years ago
43:04"Stop Writing Dead Programs" by Jack Rusher (Strange Loop 2022)
Strange Loop Conference
468K views • 4 years ago
8:34APL at Julia's Speed | Shashi Gowda | JuliaCon 2016
The Julia Programming Language
3K views • 10 years ago
1:02:44Chris Seaton @ VMSS16: JRuby+Truffle: Why it’s Important to Optimise the Tricky Parts
softdevteamuk
5K views • 10 years ago
4 comments from Hacker News
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
> 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!
> 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.
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.