Re: [racket-users] New Package: Dynamic FFI - Write C Code Inline

2019-06-03 Thread Neil Van Dyke
This looks neat. I'm glad you noted upfront in the documentation about things it can't handle automatically (e.g., allocations/lifetimes that need special management). In your discussion relating this to other work/approaches, you might want to contrast with SWIG (e.g., you work from the

Re: [racket-users] New Package: Dynamic FFI - Write C Code Inline

2019-06-03 Thread Konrad Hinsen
On 01/06/2019 21:06, David Benoit wrote: I've recently released a new library for dynamically generating FFI bindings to C by parsing header files. It also allows users to create FFI libraries by writing C functions directly inline in Racket

Re: [racket-users] New Package: Dynamic FFI - Write C Code Inline

2019-06-01 Thread Alexis King
This looks extremely cool. Thanks for your hard work—I will probably give this a try next time I use the FFI. Alexis > On Jun 1, 2019, at 14:06, David Benoit > wrote: > > Hi All, > > I've recently released a new library > for dynamically

[racket-users] New Package: Dynamic FFI - Write C Code Inline

2019-06-01 Thread David Benoit
Hi All, I've recently released a new library for dynamically generating FFI bindings to C by parsing header files. It also allows users to create FFI libraries by writing C functions directly inline in Racket programs. The library works as