user12371682
user12371682

Reputation:

The confusion with how V8 engine works

I am new to JS and was learning how V8 engine works behind the scenes. Is it true that V8 generates bytecode rather than machine code. I mean, after ignition generates bytecode, then bytecode is analyzed by profiler for improvements and then that bytecode is analyzed and optimized by compiler(Turbofan), that is, Does TurboFan generate machine code out of bytecode or generate optimized bytecode?

Upvotes: 2

Views: 242

Answers (1)

jmrk
jmrk

Reputation: 40501

V8 developer here. Turbofan produces optimized machine code.

Upvotes: 1

Related Questions