c2ffi
Clang-based FFI wrapper generator (by rpav)
cl-sdl2-ttf
A common lisp wrapper for SDL2_TTF used for loading fonts and creating text assets (by Failproofshark)
c2ffi | cl-sdl2-ttf | |
---|---|---|
4 | 1 | |
220 | 24 | |
- | - | |
6.3 | 0.0 | |
14 days ago | 6 months ago | |
C++ | Common Lisp | |
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.
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?
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
> 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?
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
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-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?
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.
What are some alternatives?
When comparing c2ffi and cl-sdl2-ttf you can also consider the following projects:
cl-autowrap - (c-include "file.h") => complete FFI wrapper
cl-sdl2 - Common Lisp bindings for SDL2 using C2FFI.
c-mera - Next-level syntax for C-like languages :)
processing - Source code for the Processing Core and Development Environment (PDE)
mal - mal - Make a Lisp
cl-sdl2-image - SDL_image 2.0 wrapper
chibi-scheme - Official chibi-scheme repository
CMake - Mirror of CMake upstream repository
veloren