lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hi guys,

This may be a little OT, but this is relevant to a discussion of
features & policies in the next release.

Consider the common operation of making a processor/thread sleep. We
do not have os.sleep() because it isn't ANSI C, but everything that
runs, can sleep. They just give it different names.

So the proposal is: as a special exception to the rule "don't mess
with the basic library namespaces', allow universally-implementatable
things like sleeping to be put into the os namespace by extension
libraries. Like, os.sleep().  This set should be kept as limited as
possible, but it's definitely non-empty.

lpack already does this by defining string.pack...

steve d.