[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Standard Libraries:
- From: Tobias Kieslich <tobias@...>
- Date: Fri, 18 Dec 2009 11:19:44 -0800
On Fri, 18 Dec 2009, steve donovan wrote:
> 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.
I think it comes in as close second, right after concurrency stuff ...
-T