Are there any good guides or worked examples available that show how to wrap a C library with Racket’s FFI stuff?
I tried just going by the documentation directly, but I seem not to have done things properly, as I get lots of segfaults
Nice, thanks for the reference!
FWIW the original paper helped me: https://www2.ccs.neu.edu/racket/pubs/scheme04-bo.pdf
Also: Danny was collecting examples for a tutorial that never got written:
Are these tutorials and stuff that are 3+ years old still accurate? That is, has the FFI stuff changed in any significant way over the past few years?
yes, they’re still accurate
Okay awesome
C is pretty stable :slightly_smiling_face:
Haha
I mean the Racket side :stuck_out_tongue:
Thank you both for your help!
I’m confident that the examples in that 2004 paper will all work today