lua-users home
lua-l archive

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


It was thus said that the Great Dirk Laurie once stated:
> 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.)

  And how many other responders to that thread said "I just write a thin
layer that mimics C because of documenation"?

  And a similar thread about a year earlier:

	http://lua-users.org/lists/lua-l/2013-11/msg00400.html

  From what I gather---no one wants to write nice, Luaish modules in C.

  -spc