Equal Posted February 29, 2012 Share Posted February 29, 2012 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 Quote Link to comment Share on other sites More sharing options...
Canardia Posted February 29, 2012 Share Posted February 29, 2012 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++. Quote ■ Ryzen 9 ■ RX 6800M ■ 16GB ■ XF8 ■ Windows 11 ■ ■ Ultra ■ LE 2.5 ■ 3DWS 5.6 ■ Reaper ■ C/C++ ■ C# ■ Fortran 2008 ■ Story ■ ■ Homepage: https://canardia.com ■ Link to comment Share on other sites More sharing options...
Rick Posted February 29, 2012 Share Posted February 29, 2012 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. Quote Link to comment Share on other sites More sharing options...
Equal Posted February 29, 2012 Author Share Posted February 29, 2012 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? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.