[plt-scheme] ffi vs. extension

From: Phil Windley (phil at windley.org)
Date: Tue Apr 19 14:11:40 EDT 2005

I'm going to have a student work on integrating Berkley DB and, 
hopefully, DbXml into PLT Scheme next month.

When I updated the extension for GDBM a while back, I just followed the 
example and created an extension that's loaded using load-extension.

Lately, I've discovered FFI and was wondering about the pros and cons.

It seems that with FFI you can "require" the library instead of using 

Is each better suited for different purposes, or just two ways to do 
the same thing?

Which is easier to use?



Posted on the users mailing list.