Poll: Do you want to have ability to write plugins in C++ or another language?
You do not have permission to vote in this poll.
Yes
11.11%
1 11.11%
No ( post why not , if you can )
88.89%
8 88.89%
Total 9 vote(s) 100%
* You voted for this item. [Show Results]

Another plugin language - beacos LUA is hard for some ppl
#15
(05-10-2015, 06:51 AM)fhntv24 Wrote: 1. It doesnt have "right" OOP with protected and private variables.
It emulates enough of OOP for us to be usable. No-one really needs protected and private variables, and even that can be done in Lua, if you really want to.
We've written several plugins that have OOP principles used in it, and all of them use basic Lua.

(05-10-2015, 06:51 AM)fhntv24 Wrote: 2. LUA is fast, but i saw page with performance comparisons and lua wasnt best in speed.
Lua is considered one of the fastest scripting languages. And frankly, we haven't really seen a single instance of when Lua was too slow for us.
Note that it is a scripting language. It is designed to invoke functions of the host program. If there is something calculation-heavy that Lua is too slow for (such as comparing an entire chunk worth of data to another piece of data), we simply write the code in C++ and export it as an API.

(05-10-2015, 06:51 AM)fhntv24 Wrote: 3. Beacos i want low memory usage, almost any scripting language wont be that good.
Lua actually runs on microcontrollers that have only kilobytes of RAM. It is extremely efficient in memory management, unlike other scripting languages.
Reply
Thanks given by: Shadowraix


Messages In This Thread
RE: Another plugin language - beacos LUA is hard for some ppl - by xoft - 05-10-2015, 07:28 AM



Users browsing this thread: 8 Guest(s)