I would have preferred Rust, a language created by Mozilla instead of one with ties to Apple, but I’m not a dev so I can’t really judge. What are your thoughts?

  • moreeni@lemm.ee
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    2 months ago

    An interesting choice that is. Picking something like Rust would have benefitted them with a big community of open source enthusiasts that could help with contributions

      • Ephera@lemmy.ml
        link
        fedilink
        arrow-up
        1
        ·
        2 months ago

        But Rust is rather good at that, too, via cxx. Mozilla similarly had a C++ codebase where they wanted to integrate Rust.

        Granted, this is raw theory. Maybe Swift is better in practice. But yeah, to me personally, it would need to be massively better to pretty much give up on open-source contributions.

        • Norah - She/They@lemmy.blahaj.zone
          link
          fedilink
          English
          arrow-up
          2
          ·
          2 months ago

          pretty much give up on open-source contributions.

          You do realise that most major FOSS projects have an iOS app, right? The post I was looking at before this was for a new jellyfin app, small individual dev, has an iOS beta out. For a comparison, there are 9.1 million files on github in Swift, and 11.3 million in Rust.

          As well, as far as contributions, Swift was designed from the getgo to be incredibly approachable for novices. While Rust is notorious for being unapproachable. Like I get the anti-Apple circlejerk is strong, but Swift is licensed under Apache 2.0, it’s FOSS, so this argument is kind of ridiculous. Especially considering how much of Google’s FOSS just gets a free pass.

          • Sethayy@sh.itjust.works
            link
            fedilink
            arrow-up
            0
            arrow-down
            1
            ·
            edit-2
            2 months ago

            Most FOSS projects weren’t allowed on the app store due to licencing, and although I think this has changed its also probably pushed off a lot of Foss devs.

            Number of files doesn’t really mean much more than number of lines though, especially between languages

        • mryessir@lemmy.sdf.org
          link
          fedilink
          arrow-up
          0
          ·
          2 months ago

          Barrier to contribute in Swift is wwwaaaaayyyy lower then Rust.

          We once ported and Swift App to Kotlin by copy+pasting. It was one day of work.

          Rust - imo - is overhyped. It has its niches. But to me it is not the swiss army knife. Swift has better expressiveness then Rust.