The Common Foreign Function Interface (by cffi)

Cffi Alternatives

Similar projects and alternatives to cffi

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better cffi alternative or higher similarity.

Suggest an alternative to cffi

Reviews and mentions

Posts with mentions or reviews of cffi. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-10-02.
  • Common Lisp
    18 projects | | 2 Oct 2021
    I feel inspired to start Lisp after being disappointed with the "open" source scene of 2021. I'd rather pay LispWorks a yearly fee and be left alone than dealing with unbalanced people in the Python space. The free Lisp implementations also look somewhat isolated from the ideological wars.

    However, a C interface is required. Is this one the recommended solution? Is it really portable?

    What is the speed compared to a Python C extension? Are implementation-specific C interfaces faster (I guess they are)?

    Sorry for so many questions, but these can usually only be answered by people who have actually used the interface.

  • Which Lisp for C/C++ interop?
    2 projects | | 30 Sep 2021
    Every Lisp includes an FFI (Foreign Function Interface) which allows it to interface with any C library. CFFI is a library that sits on top of that FFI so that your code is portable across all Lisp implementation. CFFI supports the following list, so I guess it's the answer to your question:
    2 projects | | 30 Sep 2021
    Or you can pick this lib in order to not be dependent on some specific implementation:
  • Printing in VGA Mode in Common Lisp?
    1 project | | 12 Sep 2021
    The CL standard doesn’t define FFI. Each implementation has its own FFI, and CFFI provides common interface for them. I’m not sure why MIT doesn’t work for you but it does seem to use MIT: If you care about only a few Lisp implementations, you can use their own FFI with conditional compilation.
  • A Hybrid OS
    2 projects | | 10 Jul 2021
    So now you've decided that using system libraries via FFI is "not a real program" as well. So much for OCaml, Golang, Common Lisp, and basically any other language that isn't C or C++. I called it in my other comment:
  • cffi-libffi build fail in silicon M1
    1 project | | 17 Jun 2021
    I ran into similar issues on PPC64, made a patch, but couldn’t be bothered to comprehensively test it and make an acceptable PR. I was just bulldozing through issues to just get my code to work.
  • polymorphic-functions - Possibly AOT dispatch on argument types with support for optional and keyword argument dispatch
    9 projects | | 21 May 2021


Basic cffi repo stats
8 days ago

cffi/cffi is an open source project licensed under MIT License which is an OSI approved license.

Popular Comparisons

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
Find remote jobs at our new job board There are 33 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.