It seems that the language implementors have 4 basic options:
1. Do nothing (the one that they're doing already)
2. Use branched code, such as LuaCheia
3. Provide some kind of library linking methodology
Actually, this is what Lua provides, and what LuaCheia uses. All
no0n-standrad extensions are implemented as dll's (or plain Lua
scripts). The core Lua is not changed, as we use loadlib() functionality.
LuaCheia provides most fs operations on the main supported paltforms:
win32, Unix/Posix (Linux) and MacOS X.
The dlls themselves are mostly done with branching code to support the
various platform independent implementations.