c2ffi VS chibi-scheme

Compare c2ffi vs chibi-scheme and see what are their differences.

c2ffi

Clang-based FFI wrapper generator (by rpav)

chibi-scheme

Official chibi-scheme repository (by ashinn)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
c2ffi chibi-scheme
4 7
219 1,169
- -
6.3 7.3
6 days ago about 1 month ago
C++ Scheme
GNU Lesser General Public License v3.0 only GNU General Public License v3.0 or later
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

chibi-scheme

Posts with mentions or reviews of chibi-scheme. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-06-11.
  • Debugging Compilers in Clojure
    1 project | news.ycombinator.com | 25 Oct 2023
    Your core point is absolutely true about how Lisp is special in that it usually provides a read procedure to turn a textual type into a native object that can be evaluated (this is a side effect of homoiconicity, so any homoiconic language will have this property too), but I have one additional nitpick to make ontop of yours:

    > [...] eval can take any lisp object and evaluate it.

    eval cannot be generalized to accepting any Lisp object, only specifically symbolic expressions (symbols, or lists (potentially nested) of symbols). I discovered this because I thought Chibi Scheme was throwing a warning for valid code[0] to inject a value into an expression for eval, but Marc helped me understand that the warning was correct, because Scheme only specifies what eval does for symbolic values.

    [0] https://github.com/ashinn/chibi-scheme/issues/902

  • Chibi-Scheme: a small library intended for in C programs
    1 project | news.ycombinator.com | 1 Sep 2022
  • I don't want to go to Chel-C
    3 projects | news.ycombinator.com | 11 Jun 2022
    I think a VM for a small, but highly abstract, language like Scheme might address the objections of the author(s) of this article. You might like Chibi-Scheme: https://github.com/ashinn/chibi-scheme

    Having said that, IMO, if you're having fun with uxn and its retro 8-bit aesthetic, by all means keep going with that.

  • Chibi Scheme – Minimal Scheme Implementation for Use as an Extension Language
    1 project | news.ycombinator.com | 27 Apr 2022
  • Alternative to ECL?
    5 projects | /r/lisp | 27 Apr 2021
    I would also add [chibi scheme](https://github.com/ashinn/chibi-scheme) to the C-embedded alternatives.
  • Scheme for embedding in .NET application
    4 projects | /r/scheme | 3 Mar 2021
    This one? https://github.com/ashinn/chibi-scheme I notice it's intended to be embedded in C, so it's not a perfect match.
  • What is the definition of rational? in Scheme?
    1 project | /r/scheme | 24 Feb 2021
    Chibi-Scheme's definition is interesting:

What are some alternatives?

When comparing c2ffi and chibi-scheme you can also consider the following projects:

cl-autowrap - (c-include "file.h") => complete FFI wrapper

mal - mal - Make a Lisp

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

accesskit - UI accessibility infrastructure across platforms and programming languages

CMake - Mirror of CMake upstream repository

IronScheme - IronScheme

cl-sdl2-image - SDL_image 2.0 wrapper

schemy - A lightweight embeddable Scheme-like interpreter for configuration

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