• DacoTaco@lemmy.world
      link
      fedilink
      arrow-up
      11
      ·
      3 days ago

      What is this abi and standard calling methods you speak off? Are you a rust-non-believer or some shit! Rewrite it all in rust, no questions asked!

      ( i too like the ideas of rust, but without a decent abi or not constantly changing interface, its useless to me. I dont want to rebuild all code, including libraries every time i update 1 library in my application )

      • teolan@lemmy.world
        link
        fedilink
        arrow-up
        10
        arrow-down
        2
        ·
        3 days ago

        You’re aware that Rust gives you access to the full C ABI?

        What language are you going to use instead that has a better ABI story? Swift? Or maybe a dynamic language like Python?

        • DacoTaco@lemmy.world
          link
          fedilink
          arrow-up
          8
          ·
          edit-2
          3 days ago

          I know that exists, but whats the point of that? You loose all advantages of rust when you use the library then because it cant predict application state with the library code. There is a reason all those rust libraries are compiled locally when you compile a rust application. Its a major lacking point for rust, and as long as it lacks that its dead in the water for big projects.
          Again, i like strong type stuff and i like the ideas of rust but it is not grown up enough for me

        • JoYo@lemmy.ml
          link
          fedilink
          English
          arrow-up
          1
          ·
          3 days ago

          Do you mean everything that uses LLVM automatically gets an ABI standard?

          That’s so nice of clang, really they should be proub.

        • CanadaPlus@lemmy.sdf.org
          link
          fedilink
          arrow-up
          1
          ·
          edit-2
          3 days ago

          Are you suggesting OP write a C application and then compile it as Rust? I’m not a pro, but that sounds kind of janky.