I thought I’ll make this thread for all of you out there who have questions but are afraid to ask them. This is your chance!

I’ll try my best to answer any questions here, but I hope others in the community will contribute too!

  • PlexSheep@infosec.pub
    link
    fedilink
    arrow-up
    4
    ·
    3 months ago

    Absolutely! That’s called static linking, as in the library is included in the executable. Most Rust programs are compiled that way.

    • jack@monero.town
      link
      fedilink
      arrow-up
      3
      arrow-down
      1
      ·
      edit-2
      3 months ago

      Doesn’t that mean that you have a lot of duplicate libraries when using Rust programs, even ones with the same version? That seems very inefficient

      • PlexSheep@infosec.pub
        link
        fedilink
        arrow-up
        3
        arrow-down
        2
        ·
        3 months ago

        It’s true that boundaries get inflated as a result, but with today’s hard drives it’s not really a problem.

    • SagXD@lemm.ee
      link
      fedilink
      arrow-up
      2
      ·
      3 months ago

      Yea, That’s why I am learning Rust but I didn’t know it called Static Linking I think it just how Rust works LMAO. And Thanks again