[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Batteries
- From: Dirk Laurie <dirk.laurie@...>
- Date: Mon, 12 Mar 2018 10:43:16 +0200
2018-03-12 10:06 GMT+02:00 Sean Conner <sean@conman.org>:
> It was thus said that the Great Dirk Laurie once stated:
>>
>> One other thing: we do NOT want C libraries disguised as Lua code.
>> Bindings that refer you to the docs of Debian package libbullshit etc.
>
> That's not a popular opinion (thread starts here):
>
> http://lua-users.org/lists/lua-l/2015-03/msg00001.html
>
> It seems quite a few people do the "thin layer that mimics C" but never
> get around to the "Luaish API that makes it easy to use".
>
> -spc (We both agree, however ... )
Not popular? The thread ends with Roberto's saying:
I am all in favor of "Luarizing" APIs. (PiL has an example where first
it builds an API for opendir/readdir/closedir, then it repacks them in
a single iterator function to traverse directories.)