Hacker News new | ask | show | jobs
by dijit 2355 days ago
Seems fair. Dropping support doesn’t mean it won’t work anymore. Just that it’s not as tested (reading the RFC).

32bit MacOS was never used on x86 as far as I know. And even PPC 32bit was a very small number of machines a very long time ago. Not sure about 32bit iPads and iPhones.

But, I’ve never seen a project using rust on iOS. Does anyone have an example of this?

6 comments

Yeah there was one generation of Mac's that used the Intel Core Duo which 32bit only. They are long not supported. https://everymac.com/mac-answers/snow-leopard-mac-os-x-faq/m...
Cloudflare’s 1.1.1.1 app uses Rust, on both iOS and Android. (I work there but not on it.)
Oh interesting. I wonder what the workflow actually is for that then.

I guess it’s not open source. :(

The app isn’t, but the rust bit is: https://github.com/cloudflare/boringtun

The workflow shouldn’t be anything too intense, you build a library, compile to the right arch, and treat it like any C library.

PPC 32 bit is still used extensively in the embedded space. It's understandable that it's not the main target for newer languages as LLVM support seems to be sparse (and practically non-existent for some dialects such as Freescale PPC-VLE) but it would be great to enable safer embedded development.
OS X Lion was the first version to use an x64 kernel, and there were definitely x86 (32-bit) versions of the OS and apps.

In particular, the quicktime runtime / codecs (until quicktime x) was only x86, and various VFX apps on OS X had to write RPC code to communicate with it as a 32-bit process from 64-bit land.

There’s a non trivial amount of 32 bit audio processing code for MacOS in the wild due to the longevity of snow leopard among professionals.
32-bit Apple mobile devices stopped with the launch of iPhone 5s (~5 years ago). Apple dropped support for 32-bit only desktop CPUs ~7 years ago (Lion) and 32-bit only mobile CPUs ~2 years ago (iOS 11). Apple dropped support for 32-bit apps completely in iOS 11 and in macOS 10.15 (this latest release).

TLDR: No recent Apple OSes support running 32-bit at all.

FWIW the iPhone 5s was September 2013, i.e. 6.25 years ago.

I only mention it because the timing was a surprise to everyone in the industry.

> TLDR: No recent Apple OSes support running 32-bit at all.

macOS Mojave 10.14 (released 2018) supports running 32-bit apps.

iOS 10 (released 2016) supports running 32 bit apps.

I would agree that iOS 10 is not recent, in the context of the iOS timeline. I would disagree that macOS Mojave is not recent, given that Apple still has numerous show-stopper bugs in the upgrade process to Catalina.