luajit Questions

1

Solved

Like many "(windows) users" I do not want to spend time learning to compile anything from source. So Lua seems a very good choice for a hobbyist. Sorry if this is a very simple problem - but... ...
Threadbare asked 4/11, 2013 at 11:49

1

Solved

In my application, I have all the Lua libraries exposed from the C backend. Now, I have a need to load a Lua module. The method for this seems to be : lua_getglobal(L, "require"); lua_pushstring(L...
Timberland asked 26/10, 2013 at 12:11

1

Solved

Lua 5.2 (in contrast to 5.1) supports __gc for tables. Has LuaJIT borrowed this nice feature? (I did a google search, and examined LuaJIT's Change History but couldn't figure out the answer.)
Neuro asked 21/10, 2013 at 7:48

2

From the documentation: http://luajit.org/running.html luajit -b test.lua test.obj # Generate object file # Link test.obj with your application and load it with require("test") But doesn't expla...
Haskins asked 17/10, 2013 at 1:54

1

Solved

I installed http-lua-module with nginx, made a script that works perfectly fine, but now I want to be sure that nginx uses LuaJit instead of Lua (because my research shows that LuaJit is faster). ...
Pygmy asked 27/9, 2013 at 17:9

1

Solved

This might be sort of a strange question, but curiosity got the best of me when I ended up getting a memory error after filling up a table with 14 million+ items. Is there a sort-of set memory lim...
Tver asked 10/7, 2013 at 18:54

3

Solved

I really love Lua as a programming language BUT, it bugs me unbelievably to have to constantly type "local" for all my local variables. It just makes my code look more cluttered. So I am wonderin...
Octonary asked 16/3, 2012 at 21:26

1

Solved

Assuming there is following C code: struct Foo { int dummy; } int tryToAllocateFoo(Foo ** dest); ...How to do following in LuaJIT? Foo * pFoo = NULL; tryToAllocateFoo(&pFoo);
Applaud asked 23/12, 2012 at 14:7

1

Solved

I use a simple example from http://lua-users.org/wiki/SimpleLuaApiExample to make a test. The sample can be statically linked with libluajit.a with a success, but this error message occurs when you...
Lithographer asked 13/11, 2012 at 11:16

2

Solved

How can I compile my Lua scripts into a single executable file, while also gaining the super fast performance benefits of LuaJIT? Background: My Lua scripts are for a web application I created (...
Amygdaloid asked 3/7, 2012 at 18:50

4

Solved

According to the computer language benchmark game, the LuaJIT implementation seems to beat every other JIT-ed dynamic language (V8, Tracemonkey, PLT Scheme, Erlang HIPE) by an order of magnit...
Rayerayfield asked 6/4, 2010 at 20:30

2

Solved

Just a small question from a "Lua newbie"...I have been using LuaJIT and it is awesome, no the question is since LuaJIT is Lua 5.1 compatible does that mean I can use all the "LuaRocks" that standa...
Caracul asked 30/6, 2011 at 18:10

2

I've been trying to decompile a LuaJIT bytecode file. I have managed to disassemble it (but can't find any way to reassemble it). So I am considering writing some software to convert from LuaJIT by...
Cystolith asked 24/12, 2011 at 6:11

1

I was wondering if someone has had experience with the llvm/tools - lli interpreter/JIT-compiler (cf. http://llvm.org/docs/GettingStarted.html#tools). I am interested in any information that you ca...
Scherer asked 29/10, 2010 at 19:19

3

Solved

I would like to know is there a way to pass a struct pointer to a lua script, and reach it's members from lua without copy (for read and write purposes). So, for example is it possible to overwrit...
Tamas asked 4/9, 2011 at 10:41

1

Solved

require "utils.lua" stdin:1: module 'utils.lua' not found: no field package.preload['utils.lua'] no file 'D:\blizzard\Projects\Lua' no file '.\utils\lua.dll' no file 'D:\blizzard\Projects\Lua\u...
Gossett asked 20/7, 2011 at 10:6

1

Solved

EDIT: unfortunately LuaJIT was taken out of the comparison in the link below. This comparison of programming languages shows that LuaJIT has an over tenfold improvement over the normal Lua impleme...
Vidda asked 6/2, 2011 at 5:24

© 2022 - 2024 — McMap. All rights reserved.