smack
dstep
smack | dstep | |
---|---|---|
1 | 4 | |
424 | 202 | |
0.5% | - | |
0.0 | 6.5 | |
8 months ago | 2 days ago | |
C | C | |
GNU General Public License v3.0 or later | - |
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.
smack
dstep
-
I want to install a package globally
You might also be interested in dstep, a tool that can generate D bindings from C header files.
-
Maintain It with Zig
- C, Objective-C = https://github.com/jacob-carlborg/dstep
> its test blocks make unit testing trivial to integrate.
Again, D also has this:
https://tour.dlang.org/tour/en/gems/unittesting
void main() {
-
Raylib, a simple and easy-to-use library to enjoy videogames programming
It's a C lib, generating bindings is super easy https://github.com/jacob-carlborg/dstep
There is no need to maintain bindings that can be automatically generated, wich can easily get outdated if the C project is actively developped
Anyways, someone went a ahead and updated it: https://github.com/Soaku/raylib-d
-
I rewrote my Rust keyboard firmware in Zig: consistency, mastery, and fun
Not quite as seamless as Zig, but dstep is an external program that leverages libclang to do the same thing (and generates a D module for you), as well as e.g., smartly convert #define macros to inlineable templates functions :)
https://github.com/jacob-carlborg/dstep
What are some alternatives?
UACME - Defeating Windows User Account Control
arocc - A C compiler written in Zig.
bpfcov - Source-code based coverage for eBPF programs actually running in the Linux kernel
utfcpp - UTF-8 with C++ in a Portable Way
optuna - A hyperparameter optimization framework
raylib - A simple and easy-to-use library to enjoy videogames programming
faust - Functional programming language for signal processing and sound synthesis
RIIR - why not Rewrite It In Rust
checkedc - Checked C is an extension to C that lets programmers write C code that is guaranteed by the compiler to be type-safe. The goal is to let people easily make their existing C code type-safe and eliminate entire classes of errors. Checked C does not address use-after-free errors. This repo has a wiki for Checked C, sample code, the specification, and test code.
mach - zig game engine & graphics toolkit
jotai-benchmarks - Collection of executable benchmarks
cc-rs - Rust library for build scripts to compile C/C++ code into a Rust library