lua-users home
lua-l archive

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

--- Philippe Lhoste <> wrote:
> Calling the C world from the Scheme World:
> The libffi homepage:
> Most libraries uses some assembly language to build a call stack (stacking
> the parameters) before calling the functions, one (SiodFFI, I think) simulates
> this in pure C. There is also the problem of callbacks.

Dependance on assembly would be bad; CE runs on a bunch of different processors.

Siodffi looks pretty promising.  However, now that I think of it, this problem has already been
solved for Pocket Scheme (perhaps as a result of siodffi), and source code is available.  I think
I'll dig into that this weekend, life permitting.


Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger.