Clang-based FFI wrapper generator (by rpav)

C2ffi Alternatives

Similar projects and alternatives to c2ffi

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

c2ffi reviews and mentions

Posts with mentions or reviews of c2ffi. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-11-26.
  • sketch, sdl2, c2ffi on M1 Mac?
    6 projects | reddit.com/r/Common_Lisp | 26 Nov 2022
    Quickloading :sketch or :sdl2 wants the c2ffi library which seems to be available on neither Quicklisp nor Homebrew. Downloading that library from source and following the build instructions (and several alternative variants found by Googling ) leads to errors like:
  • C Isn't a Programming Language Anymore
    4 projects | news.ycombinator.com | 7 Nov 2022
    > C compiler based tool that outputs DWARF or DWARF-like debug output that actually lays out everything

    That sounds like C2FFI: https://github.com/rpav/c2ffi

    The only language ecosystem where I've seen it used is Common Lisp. But it emits plain JSON and depends only on LLVM (albeit a specific version thereof), and I don't see any reason why you couldn't build e.g. a Python auto-binding library on top of it.

  • Alternative to ECL?
    5 projects | reddit.com/r/lisp | 27 Apr 2021
    There is the cl-autowrap that can generate lisp packages from C header filesc- I am unsure if it sticks to ANSI C or goes beyond. It inturn depends on c2ffi for the first time around.
  • Installing c2ffi on Ubuntu
    2 projects | dev.to | 17 Feb 2021
    git clone https://github.com/rpav/c2ffi git checkout -b llvm-11.0.0 refs/remotes/origin/llvm-11.0.0 cd build cmake .. # -DBUILD_CONFIG=Release LIBRARY_PATH=/usr/lib/llvm-11/lib/ make # -j8 sudo checkinstall
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 31 Mar 2023
    Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression. Learn more →


Basic c2ffi repo stats
4 months ago

rpav/c2ffi is an open source project licensed under GNU Lesser General Public License v3.0 only which is an OSI approved license.

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives