I’ve been programming for decades, though usually for myself, not as a profession. My current go-to language is Python, but I’m thinking of learning either Swift (I’m currently on the Apple ecosystem), or Rust. Which one do you think will be the best in terms of machine learning support in a couple of years and how easy is it to build MacOS/ iOS apps on Rust?

    • farcaller@fstab.sh
      cake
      link
      fedilink
      arrow-up
      3
      ·
      10 months ago

      I don’think rust has any specific features that target ML. Swift does, but it’s Apple hardware only.

      • Bluetreefrog@lemmy.worldOP
        link
        fedilink
        English
        arrow-up
        2
        ·
        10 months ago

        One of the things that I’m struggling with on Python is the very poor support for AMD GPU’s, which are in Macs. I’m sure Swift will do a better job of using the hardware capabilities better.

        • seeaya@lemmy.world
          cake
          link
          fedilink
          arrow-up
          1
          ·
          10 months ago

          If you’re looking for the best utilization of your hardware, I wouldn’t be surprised if Apple’s ML frameworks were best. Since Apple has a small set of hardware, they can write software that takes advantage of it better. Consider looking into Core ML which is by Apple and for Swift. Of course this will only work for Apple hardware, but if this is just for personal interest/hobby then that doesn’t really matter.