Re: Few questions about LuaJIT internals on 64 bit

  • From: Coda Highland <chighland@xxxxxxxxx>
  • To: luajit@xxxxxxxxxxxxx
  • Date: Sat, 25 Mar 2017 14:40:24 -0700

On Sat, Mar 25, 2017 at 2:28 PM, Dibyendu Majumdar
<mobile@xxxxxxxxxxxxxxx> wrote:

Hi Mike,

On 25 March 2017 at 18:31, Mike Pall <mikelj-1703@xxxxxxx> wrote:

Which poses the question whether one wouldn't want to choose or
design a dynamic language plus its ecosystem that better fits that
execution model, to get the most out of it.


One question in my mind has been that Javascript has had several
successful JIT implementations, but for Lua, only LuaJIT is really
successful. Is it just that large companies have invested a lot of
money in Javascript. or are there fundamental language design choices
that have made Javascript easier to tackle?

Thanks and Regards
Dibyendu


I'm fairly sure it's the latter. Javascript is unique in its place
because of the browser wars. It's actually got a lot of crap that
makes JIT harder, which is why things like asm.js exist, to try to
subset the language to just the stuff that can be compiled
efficiently.

/s/ Adam

Other related posts: