[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Why does the default cpath not have lib?.so in it?
- From: Sebastien Lai <237482@...>
- Date: Wed, 14 Sep 2011 15:54:30 +0200
On Wed, Sep 14, 2011 at 8:07 AM, Tim Caswell <tim@creationix.com> 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 ¢ ...