cl-sdl2-ttf VS c2ffi

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

cl-sdl2-ttf

A common lisp wrapper for SDL2_TTF used for loading fonts and creating text assets (by Failproofshark)

c2ffi

Clang-based FFI wrapper generator (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
cl-sdl2-ttf c2ffi
1 4
24 219
- -
0.0 6.3
6 months ago 6 days ago
Common Lisp C++
- GNU Lesser General Public License v3.0 only
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.

cl-sdl2-ttf

Posts with mentions or reviews of cl-sdl2-ttf. 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
    In that same thread, someone mentioned adding some OSX specific paths to :sysincludes in the autowrap.lisp file, so basically I downloaded the git repos for https://github.com/lispgames/cl-sdl2-image and https://github.com/Failproofshark/cl-sdl2-ttf into quicklisp/local-projects as well as the repos referenced in the cl-sdl2 thread above.

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

What are some alternatives?

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

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

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

processing - Source code for the Processing Core and Development Environment (PDE)

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

cl-sdl2-image - SDL_image 2.0 wrapper

mal - mal - Make a Lisp

chibi-scheme - Official chibi-scheme repository

CMake - Mirror of CMake upstream repository

veloren