lua-users home
lua-l archive

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

On Wed, Sep 14, 2011 at 8:07 AM, Tim Caswell <> wrote:
> FWIW, the way we solved this in nodeJS is to change the extension to .node
> and require can only open those and not arbitrary .so files.

But doesn't that introduce additional ambiguity?

As far as I know, Lua keeps it that way to remove any possible
ambiguity. Just by looking at the file extension ".node" it's not
possible to tell whether it's a DLL, SO, or a simple javascript file.

NodeJS is great, but these are just my 2 ¢ ...