272 points · by malshe · 7y ago · 195 comments
I don't mind what CPU my Mac runs on, but I am worried about how long I'll be able to play older games, run the occasional Windows/Linux software, and dabble in OS hacking or low-level tinkering to add custom features, on the same machine.
The seemingly gradual lockdown of macOS – mandatory "notarization", moving system files to a read-only volume, and disallowing kernel extensions in the future* – has generated some concern where before I used to just trust Apple to know what's best for everyone.
I welcome the extra security as long as we can manually bypass it if we really want to, but I warily wonder if the move to ARM Macs will come with a macOS that is almost as locked-down or "sanitized" as iOS.
* As mentioned during this WWDC's Platforms State of the Union.
I am interested in battery efficiency, raw cpu and graphics performance and do not care to do low level tinkering on my Mac.
I do expect it to be much more open to tinkering than iOS, but I also welcome the litany of security measures introduced so far and caution when it comes to executing wild code that affects my privacy.
I realize this puts me further in with trusting Apple to make good compromise decisions on what is possible and the hoops they create for developers on Macos, but I trust they will mostly make the right call for me.
It’s certainly been better than when I’ve had to deal with windows over the past decade.
You may not, but many do. Those many may actually be a small minority, but it would really suck for those folks.
At the end of the day, sometimes I need to run random x86/64 executables and there isn't any way around that. I could deal with a performant virtual machine.
Personally, after 13 years of Macs any computer I'm buying in the near future are going to be Linux based because of the current trajectories Apple have decided to take.
Just insight from a different community I guess.
That being said OSX running on a higher specced ipad pro CPU could be really awesome but I don't think that is what will happen.
There are several code editors for iOS https://duckduckgo.com/?q=ios+code+editor and Apple has even published an own app for students to learn coding called Swift Playgrounds https://www.apple.com/swift/playgrounds/ - it isn't a full-blown code editor, but it clearly allows you to write and run code.
And that is ignoring cloud/browser-based code editors. That execution model (write code local, run in the cloud) makes sense with mobile devices which have limited power supply. I personally don't want to spin up several docker containers on my iPhone ;)
iOS is system build mostly for content consumption and designed for non-technical users. As such it has to be protected from both external threats (malware etc) and users themselves (social engineering, phishing protection).
macOS is for me my workbench for content creation and I want it to protected from external threats but I do not want it to be protected from me. Even having to go into System Preferences and typing in my password to run unsigned apps since 10.12 is driving me crazy.
When is comes to privacy, today everything is web app anyway. And to be honest I would feel my privacy would be much more secure if I could run latest version of uBlock Origin in Safari, but I cannot.
For native apps I want to decide if I trust them or not. The only new thing I would love to see in macOS is easy blocking of internet access for particular apps.
One day, they might switch Mac to ARM. But I don't see that in the short term.
Notarization is not “mandatory”. You can still turn it off.
The seemingly gradual lockdown of macOS – mandatory "notarization", moving system files to a read-only volume,
So now it’s a bad thing that rogue apps can’t destroy your system.
and disallowing kernel extensions in the future
And they developed a way to do the same thing and improve system stability.
For how much longer? I'm not asking facetiously, the trends across the entire industry are quite obvious at this point.
> So now it’s a bad thing that rogue apps can’t destroy your system.
It's a bad thing that modern "security measures" somehow consistently manage to be as restrictive towards user freedom as possible. Methods that would accomplish the same user protection without resulting in a walled garden or vendor control of the device are somehow never selected for.
I'm sure there are no ulterior motives at play here though. /s
A key difference between the Mac and iOS. https://developer.apple.com/videos/play/wwdc2019/701/
This same panic has been going on since 10.6 with the introduction of the Mac App Store. How do you propose that you would be able to develop software on the Mac if you had to sign your executable every time that you recompiled it?
It's a bad thing that modern "security measures" somehow consistently manage to be as restrictive towards user freedom as possible.
So what would be the financial motive for Apple to force signing of apps and allow them to be outside of the App Store? What would be the financial motive of making system files readonly or introducing DriverKit to increase stability. Do you really want third party kext to be “free” to crash your entire system?
If that's Apple's trajectory, why did they things like Hypervisor.framework (much more recent than 10.6's introduction of the App Store), which allows one to make unprivileged virtualization solutions, that can run any OS/application?
To me, it their motivation seems two-fold: (1) they want to carve out a niche for security and privacy. People are willing to spend a lot of money to avoid the data grab of Facebook, Google et al. And people are willing to spend money on a system that focuses on security. So, Apple have invested a lot in hardware security (T2) and software security (sandboxing, read-only system files, mandatory kext signing, user-space drivers).
And, yes (2) they probably also want to funnel more and more through the Mac App store for profit. The thing is, they can make macOS a walled garden system, while keeping the back door open for advanced users. My dad is protected by the Mac App store, application bundle signing, notarization, and sandboxing, he is not going to boot in recovery mode and run csrutil in the command-line. While I can in the use csrutil to lower protection a bit to be able to run DTrace. In other words, I don't believe that they want to or need to turn macOS in a complete walled garden: 90% of the users does not want to or cannot disable security measures, while at the same time keeping the csrutil around keeps the other 10% happy.
---
I think the more serious danger for macOS was negligence. With key execs primarily using iPads and glacial development of macOS, the most imminent danger seemed to be that macOS developed into nothing else but an SDK/IDE for iOS development. But after the last WWDC, I am mildly optimistic that they have woken up.
One cannot have security while allowing apps to do whatever they feel like.
At this point?? Here's my blog post from nine years ago, almost to the day. http://drupal4hu.com/future/freedom
> Microsoft can [...] make it so that any new app needs to be sanctioned. Apple, obviously can easily follow or even do it before Microsoft.
While it might not be mandatory for users, it is for software which is supposed run seamlessly on every Mac, isn't it?
In the mean time, people have already developed ways to run OpenGL code atop Metal. A lot of game developers have already started to move their code to either Metal or these OpenGL-compatible shims in order for compatibility with iOS, so a lot of the adoption has already begun.
Metal seems much more compelling anyway, the Apple lock-in notwithstanding (even that is not so bad considering you can still target 4 rather popular device categories with Metal.)
In fact had Apple not chosen to go with OpenGL ES on iPhone back when they released it, OpenGL would be pretty meaningless nowadays.
The few people buying NeXTSTEP computers for graphics programming were doing it due to Renderman, not OpenGL.
So if you want to write code that uses SIMD instructions depending on whether they are available, you need to use Apple math libraries, which is super messed up.
How it'd work - ARM SoC expands on what the T2 does today, except it now runs all system threads, any ARM native user space apps, and maybe specialty fixed function blocks that Apple throws on those chips (e.g. media encode). Meanwhile the Intel chip is a co-processor for any x86 specific user space apps, and it otherwise doesn't touch drivers or any system things.
The market would be segmented with ARM chips at the lower end (MacBooks), and ARM chips with Intel co-processors at the higher end (15" MacBook Pro, iMac, iMac Pro, Mac Pro). This is equivalent to how integrated v discrete GPUs are segmented today.
Over time the ARM chips get faster and faster as Intel inevitably blunders, and more and more code is rewritten as native ARM code, so that after several years the need for x86 is significantly reduced, maybe only existing as thunderbolt eCPU boxes and/or Mac Pro. And by around MacOS ~10.23 in 2026, x86 is sunsetted because remaining use cases are so minimal.
That's not really Apple's style, at least not under Steve Jobs ;). You just throw the old architecture under the bus, provide some emulation to make Microsoft and Adobe catch up, all developers have to adapt and build fat binaries or get left behind.
Apple can do this, since no one has a strong expectation of backwards compatibility anyway.
Of course, ARM might not be competitive enough yet for Mac Pros. So they'll probably start with the MacBook Air or 12", require every developer that submits to the Mac App store to build universal binaries, and have some partners (probably Microsoft) that will provide support on day 1. For a chunk of the MacBook Air audience the architecture will be irrelevant, since they do Office, browse the web, and send e-mails. So, if they get a laptop with significantly better battery life doing that, it will sell. Once the Air has prepared the software market, go up the product line after 1-2 years.
I like the Intel co-processor idea, but Intel CPUs are relatively expensive. So, they'd have to jack up prices, while going ARM directly would increase their margins at the same price points.
In theory it seems you could be able to convert "on the fly" from multiple high level instruction sets to a singl low level microcode.
Not sure it's a good idea tho.
Security is fine as long as the user is in control. The problem is that very often companies make decisions that take away control from the user with "security" as a "but think of the children" blanket excuse.
>Apple is in the process of migrating its Mac line to ARM processors as it looks to reduce its reliance on Intel.
1. There are articles that suggest Apple could move the Macbook, MacBook Air to their own ARM SoC, and leave the higher end MacBook Pro, Mac Pro, iMac on x86-64 for Professional Apps. In the case How is the Macbook different to iPad Pro with Keyboard? It is one thing to have a transition between two ISA, it is another thing to have the platform permanently on two ISA.
2. Is Apple going to spend hundreds of millions a year just to invest into Mac Desktop / high performance CPU, for use in iMac and Mac Pro CPU that runs from 100W to 220W. The Desktop Mac represent 20% of all Mac unit, that is roughly 4M. Majority of those are iMac, not iMac Pro or Mac Pro with high TDP.
3. If Apple want to lower its reliance on Intel ( After it has all of its modem and wireless patents sort out with Intel ), why not just use AMD to leverages the price or switch to AMD. AMD gets the PR win for Apple using it, win win for both companies.
4. The rumours would have some ground before WWDC, but Apple just announced a monster Mac Pro. Catering for real Hollywood professionals and Rack Mount Mac Pro for Servers.
https://news.ycombinator.com/item?id=20292762
1. MacOS and iPad are similar, but distinct user experiences. Its more than hardware (one with keyboard, one without), its about those differences in experience. Apple is nothing if not patient about introducing change to computing paradigms and experiences, so it's fine to co-exist for a while. Switching to ARM gives them better margins, better control over price, better control over physical chassis constraints, better control over features offered, access to a better chip team than Intel's, and now TSMC and/or Samsung's better EUV processes. E.g. features-wise, Intel still isn't shipping LPDDR4 chips, something the 4 year old iPhone 6S had.
2. Basically, x86 becomes a co-processor, just like how discrete GPUs are handled. This avoids having to compete with tiny sliver of market that wants Xeons.
3. AMD is a lateral move, with exactly the same lack of control over core technologies problem. Also AMD is historically not as reliable a supplier for volumes that Apple has.
4. See #2 and my comment. Also, they needed to intro Mac Pro to satisfy / shore up existing Mac contingent before they abandoned entirely. This is a multi-year journey.
That's become my hunch too in the transition to ARM, with Apple producing a SoC that integrates an entry level x86, with usual 2 upgrade options. Eg the next product line would be:
$1599 -- Dual-Core 1.5ghz A14 + Dual-core 1.2ghz x86
$1899 -- Quad-Core 1.9ghz A14 + Quad-Core 2.4ghz x86
$2199 -- Quad-Core 2.5ghz A14 + Quad-Core 2.7ghz x86
Why is this a problem? Maybe they phase one of them out when they make the change? Or maybe leave them as slightly differentiated products like the jumble of different laptops they already have.
> Is Apple going to spend hundreds of millions a year just to invest into Mac Desktop / high performance CPU, for [Pro]
This seems like a number you just made up. Here is a comparison of last year's A12 ($50?) and a 2017 Xeon 8176 ($5K?):
https://www.reddit.com/r/apple/comments/9midcx/apple_really_...
> If Apple want to lower its reliance on Intel ( After it has all of its modem and wireless patents sort out with Intel ), why not just use AMD to leverages the price or switch to AMD. AMD gets the PR win for Apple using it, win win for both companies.
Well they're fed up with Intel and there's the price gap but the primary reason is that the chip performance is rapidly converging so there is a massive opportunity to create a unified platform. Further they've been able to create a year plus performance gap between themselves and the competition in mobile on a commodity platform and with third party fab - if they do the same thing in desktop the Mac platform could really take off and they could go after the console market too.
You will have R&D just for the high TDP CPU, you don't just magically scale up your Phone CPU and expect it to work in a Server / Workstation. And that CPU has comparatively small volume. I.e The Unit Economics does't work.
The only Unit Economics would work better is to follow a similar strategy as AMD, where you have a single die and they are replicated across the 45W to 220W product line. This is a small sub 100mm2 Die Size with 4M yearly unit. But that is excluding the complexity of I/O where EPYC had a 400mm2 I/O die.
- Cost
- Motherboard size
- Performance per watt
- Battery life
- Custom optimizations
I see no impediment to Apple running two CPU architectures in parallel for a decade. Arm for ultra-portables and base model Macs, Intel for mid/top spec macs.
Then eventually once the worldwide ecosystem becomes less x86 dominated, I could imagine Intel chips being a BTO option for people who need it, possibly even implemented as a secondary CPU available through a hypervisor.
But why does anyone really care about x86 vs ARM anyway? Assuming 100% of Mac software is recompiled, the only thing which would affect me is having Windows VMs with native speed... And I could easily replace that with a headless NUC and Remote Desktop.
Yes, everyone believes it is coming, just like they believed the iPhone was coming, the iPad was coming, the Apple watch was coming.
So much of my work is dependent on running linux executables in Docker for later deployment on a server running Intel. That is certainly extremely common.
I also need a Windows VM quite frequently for the odd program that only runs in Windows, or if I need to run Visual Studio one day. Windows is also very important for me to keep around so I can test software products in the same environment as other windows users, and there are definitely a handful of windows users out there.
Sure there may be alternative options in both areas but I'm not interested in solutions that work 80% of the time. I can't let my development environment get in the way of my work.
There are, of course, many Docker repositories that lack ARM images, and you couldn’t use the exact same build locally as in production, but I think those are not actually huge, unresolvable issues. (The latter is straight up a non-issue with a good CD pipeline.)
Windows 10 also runs on ARM platforms, with the ability to transparently emulate Intel. I’m sure this is or will be usable inside of VMs even if dual booting is not an option.
https://docs.microsoft.com/en-us/windows/uwp/porting/apps-on...
Video decoding/encoding is handled by a VPU (not GPU), HDMI is handled by a separate HDMI PHY, and most of these components have mainline, libre kernel support if you use an Allwinner based single board computer.
Microsoft has started branding some Mali GPUs as DirectX 11 capable, though YMMV on using these features.
I'm not sure thats true. At the very least its going to suck for the first year as gaps are being filled, but those differences might matter too. I would hate to have to duplicate every single Dockerfile just because of this, as engineering orgs are typically heterogenous (win/lin/mac).
Are you writing code that is hand-tuned for codegen on one architecture, or which relies on custom assembly to meet basic performance requirements? Because unless you are, I don't see what the issue would be with multiarch, assuming you don't manually compile the binaries for your containers.
Also AArch64 cloud servers are a commodity available from at least Amazon right now, and the hardware is available on the open market.
Not to mention, if you're running Docker right now, it's not running natively on macOS anyway. If you're just looking to test basic correctness, then surely you can run your dockers in QEMU or whatever AMD64 DBT/emulator is made available. Apple has a history of shipping good emulators (namely Rosetta and the 68k emulator) for their previous architectures when they change ISA.
Actually, most modern dev stacks do exactly this. You typically have some core libraries or runtime that includes heavily optimized or even hand-assembled crypto primitives. Even bog-standard “mainstream” Java or .NET code calls into system libraries which use AES, GCM, or SHA-256-specific instructions for accelerating TLS.
TLS is in just about everything.
You really need to develop and QA on the expected deployment platform
A clear message that's been coming from Apple over the past few years is that developers are not a market they care very much about. I strongly suspect a lot of us won't be using Macs for development in the future.
With that said, I sincerely doubt Apple will kill x86 wholesale overnight. I'm guessing there will be a transitional period of quite some time.
Also, windows has been doing a ton of work around getting onto arm. I managed to test on my rpi 3, and it was pretty good. it would probably be very doable.
Really sounds like they have some detailed knowledge, but yeah, no source is mentioned.
https://www.bloomberg.com/news/articles/2018-04-02/apple-is-...
EDIT: I think you may have been referring to the 9to5mac article- I'm going to leave this comment here, but the current article is way more specific.
But now, Moore's law is in the process of hitting a brick wall. Those big wins for free just aren't there. And if there's a x86 to arm JIT, it's either going to be single core, or the arm cores are going to have to have a stronger x86 like memory model, thus negating a huge part of their architectural win.
IMO, Apple's going to make their own x86 chips because the base x86_64 patents are going to expire real soon now, and they have enough patents from the crazy amount of fabless acquisitions to potentially cross license the rest.
Processors are commodities now, and that's really going to shake things up in crazy ways.
This simply isn't true, it wasn't until the G3-300 was released that the 68k emulator could run 68k code at 40MHz comparable speeds, and that was after 10 years of ppc601s and 603s running 68k system binaries at slower than quadra speeds on 180 and 200MHz processors.
Neither part of that statement is true. I had an LCII with a 68030-40Mhz card before upgrading to a 6100/60. The 6100/60 (601-60Mhz processor with a half speed bus) was much slower running 68K software than my LCII. It was about the same speed once I bought SpeedDoubler.
Also, between the slower bus, the slow shared graphics memory and System 7 on the PPC being emulated, it felt much slower than a decent 486-DX2/66 or a Pentium-60.
Has that calculus changed in the meantime?
https://en.m.wikipedia.org/wiki/Apple%27s_transition_to_Inte...
I think this is news for the sake of news. It’s just head hunting
"At ARM, Filippo was a lead engineer behind chip designs...
...Filippo was also a key designer at chipmakers Advanced Micro Devices and Intel Corp."
And his LinkedIn resume has much more detail - pretty impressive guy.