Let's prototype a JavaScript JIT compiler!
Andreas Kling0 HN recommenders · 2023–2025
49K views · tutorial · evergreen · Uploaded 2023-10-11
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.
36:45Rich Harris - Rethinking reactivity
You Gotta Love Frontend
51:18Lexical Scanning in Go - Rob Pike
GoogleFOSSSydney
1:31:06William Byrd on "The Most Beautiful Program Ever Written" [PWL NYC]
PapersWeLove
1:03:55🚀 TDD, Where Did It All Go Wrong (Ian Cooper)
DevTernity Conference
32:56Bret Victor The Future of Programming
Joey Reid
1:18:21"Uncle" Bob Martin - "The Future of Programming"
Paul Stringer's Mobile Tech
58:39Tim Ewald - Clojure: Programming with Hand Tools
ClojureTV
1:19:52CppCon 2016: Jason Turner “Rich Code for Tiny Computers: A Simple Commodore 64 Game in C++17”
CppCon
4 comments from Hacker News
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: [VIDEO] That's where Copilot shines, not for locating and copypasting answers from Stack Overflow.
> 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: [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.
> Check out 6:05 and 6:25 in this Andreas Kling video for a good example: [VIDEO] Oof. So not only was it a poor replacement for a macro, it didn't even generate the correct code!
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] [VIDEO]