Why Lua ?
#4
Python is problematic because it has a *lot* of libraries, and those are mostly incompatible with MCServer's architecture. Take networking, for example - Python provides networking support, http support, ssl support... BUT the support it provides is blocking, i. e. the Python code calling into these libraries waits for the operation to finish. And this would kill MCS, the server needs the plugin callbacks to be rather fast and use callback-based, rather than blocking mechanisms.
So we'd have to strip all libraries from the Python. And then the language is pretty much useless and all people writing plugins would whine about library X not being available and library Y being cut off.

So that's why Lua is better for this task.
Reply
Thanks given by:


Messages In This Thread
Why Lua ? - by Creaprog - 02-15-2015, 07:51 AM
RE: Why Lua ? - by NiLSPACE - 02-15-2015, 07:54 AM
RE: Why Lua ? - by Creaprog - 02-15-2015, 07:57 AM
RE: Why Lua ? - by xoft - 02-15-2015, 07:59 AM
RE: Why Lua ? - by Creaprog - 02-15-2015, 08:02 AM
RE: Why Lua ? - by xoft - 02-15-2015, 08:03 AM
RE: Why Lua ? - by Defkil - 02-15-2015, 10:28 AM
RE: Why Lua ? - by LogicParrot - 02-15-2015, 05:34 PM
RE: Why Lua ? - by worktycho - 02-16-2015, 03:51 AM



Users browsing this thread: 1 Guest(s)