How are generics compiled?

This page summarizes the projects mentioned and recommended in the original post on /r/learnrust

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • crates.io

    The Rust package registry

  • Technically, it's similar to C++ std::vector ; You have a ".h" file somewhere in C++ that other people use as the ABI-free representation. Your ".a" or ".so" uses mangled (but consistent to the compiler) symbol names. Rust, however, doesn't have a ".h" (thank god), but that means you can't link to the ".so" without access to source code. In general, (and I have no idea) it's not safe to cross link two projects in rust - God help you if you linked a nightly against an older rustc. Monorepos or open-source crates.io / github links are mostly what I see.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
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