cgame
some ideas involving games, C and Lua (by nikki93)
ffi-reflect
LuaJIT FFI reflection library (by corsix)
cgame | ffi-reflect | |
---|---|---|
1 | 1 | |
110 | 97 | |
- | - | |
0.0 | 2.9 | |
over 5 years ago | 2 months ago | |
C | HTML | |
- | - |
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.
cgame
Posts with mentions or reviews of cgame.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-05-09.
-
Adding ANSI C11 C compiler to D so it can import and compile C files directly
LuaJIT was "good enough" at this that it worked pretty well for me -- mostly for automatically binding to headers from my own code where I was careful to avoid some of the potential gotchas. With a macro the header was stringified and sent to LuaJIT; could've also had a build step. eg: https://github.com/nikki93/cgame/blob/master/src/sprite.h#L9
An added benefit is you get ffi-reflect -- https://github.com/corsix/ffi-reflect -- over the resulting types / functions...
ffi-reflect
Posts with mentions or reviews of ffi-reflect.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-05-09.
-
Adding ANSI C11 C compiler to D so it can import and compile C files directly
LuaJIT was "good enough" at this that it worked pretty well for me -- mostly for automatically binding to headers from my own code where I was careful to avoid some of the potential gotchas. With a macro the header was stringified and sent to LuaJIT; could've also had a build step. eg: https://github.com/nikki93/cgame/blob/master/src/sprite.h#L9
An added benefit is you get ffi-reflect -- https://github.com/corsix/ffi-reflect -- over the resulting types / functions...
What are some alternatives?
When comparing cgame and ffi-reflect you can also consider the following projects:
arocc - A C compiler written in Zig.
zig - General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
bzflag - 3D multi-player tank battle game
warp - A fast preprocessor for C and C++