JS Party: JavaScript, CSS, Web Development cover image

Recreating Node.js from scratch

JS Party: JavaScript, CSS, Web Development

CHAPTER

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.

00:00
Transcript
Play full episode

Remember Everything You Learn from Podcasts

Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.
App store bannerPlay store banner