[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Standard Libraries:
- From: steve donovan <steve.j.donovan@...>
- Date: Fri, 18 Dec 2009 08:13:04 +0200
On Fri, Dec 18, 2009 at 2:50 AM, KHMan <keinhong@gmail.com> wrote:
> The other problem is that in Windows, you will get most of the stat()
> information with the Find---File() calls.
Yes, LuaFileSystem is definitely designed around the POSIX model,
where iterating directory contents is very cheap. But adding another
kind of iterator which provides the common stat information is not
difficult and can be also a useful shortcut (I think lua-ex has
something like this)
> So, in order to have common functionality, no platform is likely to get a
> perfect file system library.
Perfect is the probably the chief enemy of portability. 'Mostly Good
Enough' is what we hope for.
steve d.