Jump to content

What Language should i choose?


Equal
 Share

Recommended Posts

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

Link to comment
Share on other sites

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++.

Ryzen 9 RX 6800M ■ 16GB XF8 Windows 11 ■
Ultra ■ LE 2.53DWS 5.6  Reaper ■ C/C++ C# ■ Fortran 2008 ■ Story ■
■ Homepage: https://canardia.com ■

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...