lua-users home
lua-l archive

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


On Wed, May 25, 2005 at 02:26:37PM +0200, Mike Pall wrote:
> Read more in this thread:
>   http://lua-users.org/lists/lua-l/2004-09/threads.html#00078

the generic buffered IO suggested there is exactly what I
am doing right now, supporting regular seekable files,
string buffers and bidirectional and unidirectional streams,
including sockets and pipes.

On the one hand it's not portable per se:
There is the #ifdef _WIN32 impl and the posix impl
and some system might require something else.
OTOH, e.g. printf uses identical code for all
plattforms and thus should be bug-compatible.

Some alpha due next week.


cheers