Help with having cdylib that gets loaded in C via dlopen and needs to call functions from the code that loads it

This page summarizes the projects mentioned and recommended in the original post on reddit.com/r/rust

Our great sponsors
  • SonarQube - Static code analysis for 29 languages.
  • InfluxDB - Access the most powerful time series database as a service
  • SaaSHub - Software Alternatives and Reviews
  • SpadesX

    An Ace of Spades server implementation done in C

  • rust-bindgen

    Automatically generates Rust FFI bindings to C (and some C++) libraries.

    Then use bindgen in your build.rs file of your crate to generate Rust bindings to the C types.

  • SonarQube

    Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.

  • clap

    Audio Plugin API (by free-audio)

    If you need inspiration from a well designed C plugin API, look at CLAP.

  • wasmer

    🚀 The leading WebAssembly Runtime supporting WASI and Emscripten

    My advice is to use Wasmer's or Wasmtime's Rust bindings to embed a WebAssembly runtime.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts