• CanadaPlus@lemmy.sdf.org
    link
    fedilink
    arrow-up
    4
    ·
    edit-2
    1 month 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
      arrow-up
      3
      ·
      1 month 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.