rust-bindgen VS rust-block

Compare rust-bindgen vs rust-block and see what are their differences.

rust-bindgen

Automatically generates Rust FFI bindings to C (and some C++) libraries. (by rust-lang)

rust-block

Rust interface for Apple's C language extension of blocks. (by SSheldon)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
rust-bindgen rust-block
50 2
4,070 47
2.6% -
8.9 0.0
8 days ago 3 months ago
Rust Rust
BSD 3-clause "New" or "Revised" License -
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.

rust-bindgen

Posts with mentions or reviews of rust-bindgen. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-06-20.

rust-block

Posts with mentions or reviews of rust-block. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-05-13.
  • macOS Apps in Rust
    8 projects | news.ycombinator.com | 13 May 2023
  • Baby's first Rust with extra steps (XPC, launchd, and FFI)!
    7 projects | dev.to | 16 Jun 2021
    let block = ConcreteBlock::new(move |key: *const c_char, value: xpc_object_t| { unsafe { xpc_retain(value) }; let str_key = unsafe { CStr::from_ptr(key).to_string_lossy().to_string() }; let xpc_object: XPCObject = value.into(); map_refcell .borrow_mut() .insert(str_key, xpc_object.into()); true }); // https://github.com/SSheldon/rust-block#creating-blocks let block = block.copy(); let ok = unsafe { xpc_dictionary_apply(object.as_ptr(), &*block as *const _ as *mut _) };

What are some alternatives?

When comparing rust-bindgen and rust-block you can also consider the following projects:

Introducing .NET Multi-platform App UI (MAUI) - .NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.

rust-objc - Objective-C Runtime bindings and wrapper for Rust.

cxx - Safe interop between Rust and C++

chkservice - Systemd units manager with ncurses, terminal interface

autocxx - Tool for safe ergonomic Rust/C++ interop driven from existing C++ headers

k9s - 🐶 Kubernetes CLI To Manage Your Clusters In Style!

JNA - Java Native Access

Cursive - A Text User Interface library for the Rust programming language

vulkano - Safe and rich Rust wrapper around the Vulkan API

tokio - A runtime for writing reliable asynchronous applications with Rust. Provides I/O, networking, scheduling, timers, ...

CC - A small, usability-oriented generic container library.

swift-bridge - swift-bridge facilitates Rust and Swift interop.