Hi,
im new to leadwerks but not new to programing.
well my question is:
is Lua as powerfull as C++ in leadwerks?
meaning i can create the same things without paying with some kind of efficiency?
Do both give me the same things but only on different ways?
greets Equal
#1
29 February 2012 - 01:48 PM
#2
29 February 2012 - 02:10 PM
If you don't know coding much, use Lua. It's quite powerful and easy: http://wiki.interfaceware.com/241.html
If you know a lot of coding, use C/C++.
If you know a lot of coding, use C/C++.
■ i7 2600k ■ GTX 570 OC ■ 16GB ■ XF8 ■ WASD Keyboard ■
■ LE 2.5 ■ 3DWS 5.6 ■ Cubase 6.5 ■ C/C++ ■ Fortran 2008 ■ SuperBasic ■
■ Official SuperBasic Forum: http://www.siipi.com/forum ■
■ LE 2.5 ■ 3DWS 5.6 ■ Cubase 6.5 ■ C/C++ ■ Fortran 2008 ■ SuperBasic ■
■ Official SuperBasic Forum: http://www.siipi.com/forum ■
#3
29 February 2012 - 02:26 PM
In LE2 Lua and the other languages aren't equal. There are a couple things you can't do in Lua simply because Josh hasn't exposed the functionality. So for LE2 you are best off using C++.
In LE3D it "sounds" like every language will have the same functionality LE wise. Josh is putting a lot of energy into Lua in LE3D. He wants it to be a big part of the overall engine, meaning if you want to write once and easily have your game ran on all the supported hardware (all PC platforms & mobile devices) it'll be much easier to accomplish if your project is Lua. It's not that you can't with the other languages, it'll just be easier with Lua.
That being said Lua will never be as fast as C++ in run-time, but sometimes speed isn't everything. It's a balance you have to decide on. I will tell you generally Lua is faster to develop with because you bypass the compile step which often leads to faster transition between coding and testing what you just coded. This development time savings can have a big impact once your project gets so large.
In LE3D it "sounds" like every language will have the same functionality LE wise. Josh is putting a lot of energy into Lua in LE3D. He wants it to be a big part of the overall engine, meaning if you want to write once and easily have your game ran on all the supported hardware (all PC platforms & mobile devices) it'll be much easier to accomplish if your project is Lua. It's not that you can't with the other languages, it'll just be easier with Lua.
That being said Lua will never be as fast as C++ in run-time, but sometimes speed isn't everything. It's a balance you have to decide on. I will tell you generally Lua is faster to develop with because you bypass the compile step which often leads to faster transition between coding and testing what you just coded. This development time savings can have a big impact once your project gets so large.
My Whacky Moles iOS
My Whackky Moles Google Play
"Our deepest fear is not that we are inadequate. Our deepest fear is that we are powerful beyond measure. It is our light, not our darkness that most frightens us. We ask ourselves, who am I to be brilliant, gorgeous, talented, fabulous? Actually, who are you not to be?"
My Whackky Moles Google Play
"Our deepest fear is not that we are inadequate. Our deepest fear is that we are powerful beyond measure. It is our light, not our darkness that most frightens us. We ask ourselves, who am I to be brilliant, gorgeous, talented, fabulous? Actually, who are you not to be?"
#4
29 February 2012 - 02:32 PM
Thank alot, for the fast and informative awnsers.
The compiling-stpe point got me to pick the Lua.
greets Equal
Edit: 1 more thing, it seems like i am unable to find the API for Lua, i just can find some for c++.
Any links for me?
The compiling-stpe point got me to pick the Lua.
greets Equal
Edit: 1 more thing, it seems like i am unable to find the API for Lua, i just can find some for c++.
Any links for me?


Back to top



