• fluxx@mander.xyz
    link
    fedilink
    English
    arrow-up
    13
    ·
    11 hours ago

    Having tried both Swift and Rust - you can hardly compare them. For me Rust is in a different league. Swift is a modernization and a step forward compared to ObjC, but Rust is a different paradigm altogether. Swift has IMO done a great job for Apple as a platform, but has not achieved universality and had not transcended the platform. Rust has achieved universality, but has not captured any platform in particular yet. Both have not and may never replace C/C++, though my biased opinion is rust may have a chance (at least with C++)

    • [object Object]@lemmy.ca
      link
      fedilink
      English
      arrow-up
      2
      arrow-down
      2
      ·
      10 hours ago

      I pick on Rust because of the “write everything in Rust” crowd and just personally I don’t like how the language feels.

      I don’t think rust has found fit in the GUI sphere, though it’s getting some adoption from tools like zed, and hopefully some native gui tools get better with it. Swift has some fit there, but it’s not a fair comparison because it’s forced. Swift has nice ergonomics though with callbacks and lib dispatch plus combine that work well for GUIs.

      Swift also suffered from poor versioning tools, and platform code differences which have hurt it even if they’ve been patched over.