Re:V8: A Tale of TurboFan
by scriptproof on Thursday March 02, 2017 @04:41AM
(#13772858)
That is irrelevant. On a typed and mostly static language all is 100x easier to compile too.
[ Parent
| on HN ]
Lua is a dynamic language though.
Re:V8: A Tale of TurboFan
by scriptproof on Thursday March 02, 2017 @09:49AM
(#13774309)
You are right. What is the magic formula to make the JIT so fast?
Javascript has some features that makes it hard to be JITed.
For example it has no fixed object layout.
If you are interested into how language design impacts performance this is worth reading:
http://wren.io/performance.html
Re:V8: A Tale of TurboFan
by throwawayish on Thursday March 02, 2017 @04:46AM
(#13772881)
JavaScript is typed as well.