c2ffi VS cl-autowrap

Compare c2ffi vs cl-autowrap and see what are their differences.

c2ffi

Clang-based FFI wrapper generator (by rpav)

cl-autowrap

(c-include "file.h") => complete FFI wrapper (by rpav)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
c2ffi cl-autowrap
4 8
216 206
- -
5.7 1.5
about 21 hours ago 15 days ago
C++ Python
GNU Lesser General Public License v3.0 only BSD 2-clause "Simplified" License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

c2ffi

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 | /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 | /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

cl-autowrap

Posts with mentions or reviews of cl-autowrap. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-02-14.

What are some alternatives?

When comparing c2ffi and cl-autowrap you can also consider the following projects:

c-mera - Next-level syntax for C-like languages :)

cffi - The Common Foreign Function Interface

chibi-scheme - Official chibi-scheme repository

mal - mal - Make a Lisp

cl-rashell - Resilient replicant Shell Programming Library for Common Lisp

CMake - Mirror of CMake upstream repository

cl-sdl2-image - SDL_image 2.0 wrapper

claw - Common Lisp autowrapping facility for C and C++ libraries

cl-sdl2 - Common Lisp bindings for SDL2 using C2FFI.