JS Party: JavaScript, CSS, Web Development cover image

Recreating Node.js from scratch

JS Party: JavaScript, CSS, Web Development

00:00

How to Make a Database Driver

Node.js is a proxy for V8, the Chrome engine use it as a proxy to execute functions. The magic back then was the ability to get a JavaScript string sent you a C++ layer and you could bridge. When I call console.log, actually, I'm not calling console.log doesn't exist in JavaScript. Console.log is actually print F on Cppl. So there's what are we talking about when we talk about JavaScript runtime? There's like how JavaScript, the language itself is parsed and turned into executing instructions. And then there's like these libraries or functions that are built in terms of the proxy function.

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app