I'm becoming increasingly worried about the amount of stuff that needs to execute in the LUA environment. What I mean is there are things that are being done in LUA scripts that take a LONG time to complete and during this time no other threads can use the LUA environment.
On my current development system, this has the effect of delaying all event processing as, for example, a LUA based UI is initialized. This means plugin and LUA script developers need to take into account that they may not be able to execute LUA code for a MINUTE or more. In this non-deterministic environment, "time-out" logic becomes painful or, sometimes, worthless.
I have toyed with the idea of creating and managing multiple separate LUA environments inside the serial plugin to get around this problem; but, before taking this radical step, I was wondering if anyone else sees "too much LUA" as a problem?
It is quite possible that, instead, I am just worried about nothing.![]()