How does v8 work?

Hello All,

I actually asked this question in reddit’s ELI5, but they said the explanation was beyond what ELI5 can provide. So I came here.

I did some youtube searches and they claim V8 is what makes chrome so fast, and that V8 is different because it compiles JS to machine code without using a intermediate language in between.

But really, down to the nitty gritty, how does javascript get compiled by v8? can someone please help me understand?

Thank you!

1 Like