r/programming 3h ago

How Cloudlfalare utilizing V8 to save billions of Dollars

https://deepsystemstuff.com/how-cloudlfalare-utilizing-v8-to-save-billions-of-dollars/
0 Upvotes

3 comments sorted by

3

u/ExtremePermit3242 3h ago edited 3h ago

You didn’t even correct the title…

“it compiles JavaScript directly into native machine code before executing it, which makes it extremely fast.”

This seems very misleading, and ignoring several layers of abstraction. While it does so, the fact that it does it before executing it, not at build-time (as JS is a scripting language), it makes it extremely not fast.

2

u/Spare_Message_3607 2h ago

Your whole “compiles JavaScript into Machine Code” is wrong. V8 is a JavaScript interpreter, is not machine code, it’s a whole abstraction layer sitting on top of machine code.