lua-users home
lua-l archive

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


Am 20.09.2016 um 15:11 schröbte Viacheslav Usov:
On Tue, Sep 20, 2016 at 2:45 PM, Thijs Schreijer <thijs@thijsschreijer.nl>
wrote:

The most common problem is passing objects around (file handles etc.)
their internal structures have changed in between versions and hence can
cause trouble.

To which Shmuel Zeigerman objected, saying that Lua's API does not use any
such objects, which, I think, is correct.

Lua has an io library (which usually is bundled with the Lua API and thus linked to the same runtime), and some popular third-party modules (e.g. luaposix and luafilesystem) can work with Lua file handles.


Cheers,
V.


Philipp