|
|
|
|
|
by bjoli
3049 days ago
|
|
I have often asked myself how LuaJIT can be so fast. It runs laps around every other JITed dynamic language, even fast ones like JS-v8. First of all: Mike Pall, but secondly: lua's semantics must lend itself very well to modern optimization techniques. LuaJIT is pretty friggin great and I have embedded it a couple of times with great success :) I do however preferred guile model for multithreading with one instance that an spawn multiple threads, and that can be used safely from multiple threads,but that is just amatter of taste. If you want to spin up multiple instances, guile isn't for you (although you could use multiple threads in a single instance). So whatever floats your boat :) There was some work implementing lua on the guile VM, which would have been cool. |
|