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
#19
Actually, one plugin of mine did hit a limit in the performance. When I was adding the web preview support for the Gallery plugin ( https://forum.cuberite.org/showthread.ph...4#pid19734 ) I first did the check for non-air blocks in Lua code. It processed a 16 * 16 * 256 area in several seconds on my laptop, which was really, really slow. That's why I ended up writing the cBlockArea:GetNonAirCropRelCoords() API function, which does this in a fraction of the time.

Which exactly illustrates the principle - if something is too slow for Lua, we implement it in C++ and add it to the API.
Reply
Thanks given by:


Messages In This Thread
RE: Another plugin language - beacos LUA is hard for some ppl - by xoft - 05-12-2015, 04:31 PM



Users browsing this thread: 3 Guest(s)