lua-users home
lua-l archive

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


* On 2014-06-19 19:53:35 +0200, William Ahern wrote:
 
> > This is true, and appears to save the binder writing documentation
> > for the idiomatic Lua API.  It makes sense to the binder, because
> > they're fluent in C and can read any tutorials for the C API.  But
> > it poses a problem to a more casual user, who may not know C.  So
> > it's worth going the extra mile; and the thread (of course Coda!) is
> > about doing the extra idiomatic layer in _addition_.  Depends
> > totally on the intended audience of course.
> 
> And the C API! A good C API is modular and consistent, and ideally
> eschews things like callbacks 

It's especially challenging to create bindings for C libraries which
perform callbacks from the context of some internal hidden thread.
Unfortunately people still make this kind of API's.

-- 
:wq
^X^Cy^K^X^C^C^C^C