4 ms·
But at some point you'll _only_ be able to run ARM binaries. Rosetta2 will go away. Like how Rosetta went away for non-ARM Mac's, and now they can only run x86
by dcormier 6y ago
But at some point you'll _only_ be able to run ARM binaries. Rosetta2 will go away. Like how Rosetta went away for non-ARM Mac's, and now they can only run x86 binaries.
This is bad.
- Wowfunhappy 6y agoI seriously can't overstate how easy it is to sign a binary. You don't need an Apple Developer account, or an internet connection, or anything other than macOS and a working development environment. Just go into the Terminal and type: > codesign -f -s - [path to binary] Unless something has changed on Apple Silicon, that's it, you're done, the binary has a signature. It does not have a trusted signature, but you don't need one. I think it was just simpler to write the OS assuming all executables would have a signature.
- canarypilot 6y agoDo you know whether this applies to everything which executes? If my build scripts create a build script and run it I guess that will be ok, but if my build scripts build a specialised parser (say, from C source) I need to add a step after linking to code sign the generated parser binary before using it? Is that about right?
- saagarjha 6y agoSigning is only required for native code. If your parser is a native binary, it needs at least an ad-hoc signature on it before it will run.
- IshKebab 6y agoThat's definitely going to be fun to integrate into build systems.
- letitbeirie 6y ago> but you don't need one Yet. Until this you didn't need a signature at all.
- naravara 6y agoHave they announced that it’s temporary or is this an assumption? Obviously it goes away eventually, but going away in year 3 of a transition is a different beast than going away in year 10.
- dcchambers 6y agoMy personal thought - there's a hell of a lot more software written for x86 Mac than there ever was for PowerPC Macs. It would make sense to provide the transational layer for a longer amount of time. That said, Apple has never been shy about aggressive transitions.
- naravara 6y agoYeah I have the same thought. On the other hand, SaaS and Electron were not really things back then. It's possible that if enough heavy workloads go into the cloud and basic ones just turn into wrapped web apps the actual underlying instruction set becomes irrelevant much faster.