the.weavster wrote:You seem to want to use Lua in a way it wasn't intended just so you can complain that it's slow when you do that.
Embedded or not, a snail's a snail, no matter how you want to spin it.
And boy, are you spinning it.
The major developments that opt for Lua do so purely for its simplicity and portability, knowing full well that it's a trade-off on speed and performance. That's precisely why the usage of such scripts are kept to a bare minimum, mostly for glue code, and
never for speed or performance-critical tasks.
But if it's so slow, why use it?
Simple economics.
Professional expert programmers are scarce and expensive. So, the affordable few are hired to develop the real speed and performance-critical low-level code, wrap them up nicely and neatly with a bow on top, and present them to these dime-a-dozen
"enthusiasts of high level languages".
Furthermore, although it may be well-suited as an embedded language, you don't seem to realise that Lua is also a full-blown development tool. There've been many native builds for it on as many platforms, which include Windows, OSX, Linux, and even Android.
Are these the intended ways you were mentioning earlier, perhaps?
Regardless,
it's still slow.
the.weavster wrote:Most developers using Lua wont create their own low level libraries any more than C# developers would implement their own .NET framework or Java developers would create their own JVM.
This statement makes me wonder if you even know what you're talking about.
