lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> Actually, V8 doesn't have an interpreter. It always compiles. It has a dumb, fast one that doesn't optimize at all that it uses for the first run of everything, and a slow, smart one that it uses to optimize hot spots.

These Javascript JITs change all the time. Nowadays v8 uses an interpreter as its first stage. One of the biggest reasons for the change was to reduce memory usage (the machine code generated by the baseline compiler was much larger than the equivalent interpreter bytecodes)

https://v8.dev/docs/ignition