Allow luajit to coexist with built-in lua - #5
Conversation
358844e to
bc0daa8
Compare
dvkashapov
left a comment
There was a problem hiding this comment.
Really clever, overall LGTM! Just some minor comments.
I was having an idea about handling shebang also in SCRIPT LOAD but that would require changes in core and parsing code itself in core. We also need to update README to mention that it is required now to load LuaJIT first if it is expected to use both default and LuaJIT
Signed-off-by: secwall <secwall@yandex-team.ru>
Oh, so using a shebang doesn't work with EVAL and SCRIPT LOAD? I wasn't aware of that! I think we should fix it in the core. Ricardo would know. He knows everything about scripting engines. :D
Yeah, I think the only reason to use both at the same time is to do testing and benchmarking, such as comparing them to each other. |
Adds a module config "engine-name"