Dbo Dev
- Joined
- Sep 19, 2009
- Messages
- 921
- Reaction score
- 191
That's a strange answer. That ain't even an answer.. What is everything? How can you compare any sort of ... speed with LUA and C++? Do you know what binding LUA to C++ is?
In this concept, as far as I know, there's no single difference at "any speed" compared with C++. You're using LUA to solve problems or create functions you cannot do in C++, in this case. Usually you're doing this because of a lack of knowledge in C++. LUA is easier than C++ to understand and write. Programming in LUA has shorter terms as well, which saves some time when writing a big piece of code.
c++ calculates and work faster than lua
Hey @Daneos what i have to download? In one the zip have SRC in there files .h and .c what i have to download?
Never mind, at the end is the download xD
Why this doesn't work??
luaL_dofile(L, "LUA\test.lua");
and this yes
luaL_dofile(L, "test.lua");
??
Why you dont use current LUA wrapper from the source? XD
how I run all scripts and register functions
printf("==== LOAD LUA FILES ==== \n"); app.lua = new CNtlLuaState;
app.lua->RunAllScripts();
app.lua->LoadAllFunctions();
Ok I can return values from lua to server now.