• @CanadaPlus@lemmy.sdf.org
    link
    fedilink
    4
    edit-2
    15 hours ago

    Hmm. So I guess it comes down to what OP is doing. They either want to write a Rust library, or something that uses a Rust library that may not be standardised or even exist yet. If the latter, they should stick with C.

    • @barsoap@lemm.ee
      link
      fedilink
      32 days ago

      Writing C bindings to a Rust library is the easier scenario because you can rely on the safe code having nice and clean memory semantics.