|
Sam Roberts wrote:
Two suggestions.
<snip>
Your users already have to deal with an event-driven system, you don't have to hide it from them. Also, for things like SNMP and DNS lookups, there are lots of asynchronous and high-quality C libs to to that kind of thing, you'll probably find it easier to integrate C libs and provide nice high-level APIs that are event-driven, with idioms common to the set of capabilities you offer your control engineers.
Agreed. One of the nice things about Lua is that integration with existing libraries is really easy to do. Just write a wrapper around a call into the library and add it to a table using the library mechanism... Ralph