News for hackers. Stuff that matters.
Re:Apple will announce move to ARM-based Macs later this month by ccmcarey on Tuesday June 09, 2020 @05:37PM (#23471180)
Interesting. I imagine they'll have to provide some sort of x86/amd64 compat layer as otherwise this kills every application available for macos right now.

I hope they don't also continue to lock down macos (though I imagine they intend to) by restricting applications to only being available from the app store. That would set a terrible precedent for personal computing.

Re:Apple will announce move to ARM-based Macs later this month by jws on Tuesday June 09, 2020 @05:53PM (#23471366)
It kills every application whose developer doesn't issue an update in the next 12 months. If you buy an ARM based Mac and your favorite app doesn't work it was abandoned by the developer.

As a developer there is a nuisance of one more damn thing to test, but compared to the nuisance iOS developers go through to make sure it looks nice on all the different sized devices, testing on an ARM before release isn't bad.

Having developed through the 68k-to-PPC and the PPC-to-x86 and the x86-to-amd64 days I think I can safely say I never had a problem with any code in a transition¹². There are developers that will, if you have written optimized vector code or some such and you care to also be highly performant on the ARM you will be spending resources to make sure you map onto whatever the hardware provides, but you've been doing that for the various Intel instruction set changes anyway.

␄

¹ I'm not saying architecture doesn't matter, doing early ARM porting for Debian I can tell you having C "char" be unsigned was a huge pain in the codebase. But Apple has control top to bottom and has every incentive to make it easy for developers, if only for themselves.

²At least not any problems bad enough to leave a mark on my memory. I'm sure I had to learn about intptr_t sometime after it was invented and probably learned a lesson about size_t at some point.

Re:Apple will announce move to ARM-based Macs later this month by int_19h on Tuesday June 09, 2020 @06:01PM (#23471436)
An app that isn't updated in 12 months isn't necessarily "abandoned". It can also be complete.
Re:Apple will announce move to ARM-based Macs later this month by snazz on Tuesday June 09, 2020 @06:02PM (#23471448)
Yes, but recompiling it for a new processor architecture shouldn't be a huge energy expenditure. For better or worse, applications meant to run on "moving target" operating systems like macOS need to be updated.
Re:Apple will announce move to ARM-based Macs later this month by dathinab on Tuesday June 09, 2020 @06:29PM (#23471686)
Except if it used Atomics in a slightly wrong way and it just happened to work on x86 but now will lead to all kind of unexpected failures ARM which has a weaker default memory guarantees.

If you run into this it can:

1. take a while until you aware there is a bug (as it likely only happens spurious potentially with different effects every time)

2. take quite longer to somewhat pin down

3. And if you have not atomic experience and the bug is in a library might be outside of your skill/payment level to fix requiring major rewrites. And all of this parallel to all the other work you have to do.

=> While this should be rather easy for many app for some it might be a nightmare which is combined with the regularly planed work might very well take many month, after customers start using it and run into the bug.

Re:Apple will announce move to ARM-based Macs later this month by anonymoushn on Tuesday June 09, 2020 @06:09PM (#23471510)
I think the first two steps of this process are to pay Apple $100 and try to build the software under a newer version of XCode. Based on my experience trying to build XLD under any version of XCode this seems like it will probably take a person-week or so.
Re:Apple will announce move to ARM-based Macs later this month by philwelch on Tuesday June 09, 2020 @06:04PM (#23471459)
> It kills every application whose developer doesn't issue an update in the next 12 months. If you buy an ARM based Mac and your favorite app doesn't work it was abandoned by the developer.

Ah, so just like the Catalina 32-bit Armageddon.

Re:Apple will announce move to ARM-based Macs later this month by moron4hire on Tuesday June 09, 2020 @06:11PM (#23471529)
>> Apple has control top to bottom and has every incentive to make it easy for developers, if only for themselves.

Uuuh, but they have a track record of terrible developer support, so I don't see this actually happening.

Re:Apple will announce move to ARM-based Macs later this month by zapzupnz on Tuesday June 09, 2020 @05:39PM (#23471202)
> I imagine they'll have to provide some sort of x86/amd64 compat layer

Just like they did with the mk86->ppc transition, just like they did with the ppc->x86 transition.

> I hope they don't also continue to lock down macos

Let's not confuse moving Macs to ARM processors with turning Macs into iOS devices. Apple has always treated the OS families differently and will continue to do so because they know more than anybody that they meet different needs.

Re:Apple will announce move to ARM-based Macs later this month by darrmit on Tuesday June 09, 2020 @05:42PM (#23471238)
> will continue to do so because they know more than anybody that they meet different needs

Will they, though? Because Catalina seems like a giant step in the wrong direction if you’re thinking they’re acknowledging the developer - or even power user - need. Seems to me they’ve doubled down on the iOS approach to macOS.

Re:Apple will announce move to ARM-based Macs later this month by antipaul on Tuesday June 09, 2020 @05:53PM (#23471359)
In Catalina, I see the move towards these macOS & iOS compatible apps ("Catalyst") as making it easier to develop apps for both. It's a service for developers, if you will (I am not an app developer!)

I don't necessarily see it as trying to create a single OS for both desktop and mobile.

Re:Apple will announce move to ARM-based Macs later this month by darrmit on Tuesday June 09, 2020 @05:59PM (#23471417)
To be clear: I’m not saying they’re trying to create a single OS. I’m saying the “Apple knows best” concepts they’re applying to macOS that are seemingly inspired by iOS are very hostile to a large part of their user base.
Re:Apple will announce move to ARM-based Macs later this month by antipaul on Tuesday June 09, 2020 @06:36PM (#23471735)
Fair, thanks for clarifying!

I, in fact, find the catalyst apps on macOS still needing work. And I’m talking the Apple ones: Music, News

Re:Apple will announce move to ARM-based Macs later this month by salutis on Tuesday June 09, 2020 @07:53PM (#23472334)
Music is not a Catalyst app. Did you mean the new Podcasts app? Music is a trimmed down version of iTunes which is a Cocoa app.
Re:Apple will announce move to ARM-based Macs later this month by zapzupnz on Wednesday June 10, 2020 @09:15PM (#23484230)
Trimmed down in some respects, buggier and slower in others. It may seem to be a Catalyst to some because many aspects of the UI severely regressed to custom implementations of standard Cocoa controls that iTunes 12 used.
Re:Apple will announce move to ARM-based Macs later this month by mikepurvis on Tuesday June 09, 2020 @05:48PM (#23471317)
I wouldn't be so sure. Apple was happy to leave behind "pro" customers who needed floppy drives (1998), optical drives and ethernet (2013), and USB ports (2017).

Sure, the industry ended up following them on a lot of this, but that should be as much a cause for concern as the rest of it. An awful lot of the pro audio / video work that happens on high end Apple hardware could absolutely happen on a machine where the only software comes in via an app store.

Re:Apple will announce move to ARM-based Macs later this month by loktarogar on Tuesday June 09, 2020 @05:56PM (#23471377)
> Apple was happy to leave behind "pro" customers who needed floppy drives (1998), optical drives and ethernet (2013), and USB ports (2017).

sure, but all that functionality remained externally - just not as part of the laptop. locking down the laptop is fundamentally different.

Re:Apple will announce move to ARM-based Macs later this month by bonestamp2 on Tuesday June 09, 2020 @06:10PM (#23471526)
I don't know if those are the best examples. You can still plug a floppy drive or an ethernet adapter into a 2020 macbook pro's usb port.

I think what they did was they changed what it looks like to be a pro user. The average user gets a sleak experience while a "pro" user is going to have a docking station.

I actually like that they transitioned to the docking station approach. It means two things:

1. I have a lighter macbook pro for work travel 2. At my desk, one single cable: charges the computer; connects two additional monitors, ethernet, keyboard, mouse, sd card reader, high speed storage, and a scanner. I much prefer that one single cable vs the bundle of cables I used to have to plug/unplug each time I wanted to take or return my computer.

Re:Apple will announce move to ARM-based Macs later this month by john_alan on Tuesday June 09, 2020 @05:43PM (#23471260)
Exactly. The exec team have confirmed that including Schiller in recent interviews.

macOS is for everything, including Dev. They need that for the ecosystem. Look at the new Mac Pro ffs.

Can’t most apps just recompile to support new chip? We don’t need fat binaries right?

Re:Apple will announce move to ARM-based Macs later this month by jacquesm on Tuesday June 09, 2020 @05:49PM (#23471325)
And they'll continue to say that right until the moment they yank the rug out from under you when all the pieces are in place.
Re:Apple will announce move to ARM-based Macs later this month by macintux on Tuesday June 09, 2020 @06:05PM (#23471474)
The trop that your logic falls into is there's no way to disprove Apple will ever do this.

10 years from now, we'll probably be having the same argument, and people will be pointing to the latest release of macOS and complaining that surely this one means the end is nigh.

Re:Apple will announce move to ARM-based Macs later this month by zapzupnz on Tuesday June 09, 2020 @09:32PM (#23472912)
Indeed. I've been hearing people crow on about this since Lion. That was 10 years ago. OS X might be macOS now, but it's still fundamentally the same OS.
Re:Apple will announce move to ARM-based Macs later this month by jacquesm on Wednesday June 10, 2020 @01:51AM (#23474357)
But there is an easy way to prove that they will and that 10 year horizon is short enough that I believe it will happen. Apple never cared about developers, they care about moving units and profits. Right now they are not getting a slice of the action of all software sales for the Mac and that must be a temptation they find hard to resist.

Remember how they turned their backs on the creative people that kept them alive for over a decade when everybody else had switched to windows? Similar story, similar ending.

Re:Apple will announce move to ARM-based Macs later this month by dathinab on Tuesday June 09, 2020 @06:31PM (#23471699)
> Let's not confuse moving Macs to ARM processors with turning Macs into iOS devices.

I wouldn't be surprised if they just do that. Ship the lower end laptops with ARM and either an extended iOS or a constrained MacOS.

> Apple has always treated the OS families differently and will continue to do so because they know more than anybody that they meet different needs.

But the different needs part only really applies for the high end Mac Books and from apples POV might no longer be a think if you can develop Swift/Objective-C and similar on iOS.

Re:Apple will announce move to ARM-based Macs later this month by jl6 on Tuesday June 09, 2020 @05:58PM (#23471405)
How would we expect a amd64->ARM compatibility layer to work? Emulation? Do we have any reason to think that would achieve acceptable performance?
Re:Apple will announce move to ARM-based Macs later this month by martinald on Tuesday June 09, 2020 @07:27PM (#23472127)
Windows already does x86 to arm (not 64bit yet) in Windows on ARM and it works fine. Can play games and stuff ok on it, so definitely "acceptable". Not sure if great, but it's definitely usable.
Re:Apple will announce move to ARM-based Macs later this month by efficax on Tuesday June 09, 2020 @05:45PM (#23471274)
Likely you'll just be able to ship fat applications that have binaries for x86 and ARM code with one click in Xcode
Re:Apple will announce move to ARM-based Macs later this month by dathinab on Tuesday June 09, 2020 @06:38PM (#23471747)
That is if you have a Apple only application using Swift/Objectiv-C maybe C/C++.

Also don't forget that ARM has weaker memory ordering, so expect to see some fallout from not completely correctly written atomics/lock-free code.

Re:Apple will announce move to ARM-based Macs later this month by slantyyz on Tuesday June 09, 2020 @05:43PM (#23471255)
I would guess that they'd target these to light usage consumers first, i.e., the people who are somewhere in that weird place between ipads (but not pro) and macbook airs.

I tend to think that Safari, iPhoto, iMovie iWork, Mail, Calendar and maybe Office support (initially) would be more than enough for that segment of users.

Re:Apple will announce move to ARM-based Macs later this month by lumost on Tuesday June 09, 2020 @06:39PM (#23471748)
Shipping for the high end first may also be a statement. It would motivate flagship app developers to invest in arm optimizations.
Re:Apple will announce move to ARM-based Macs later this month by gh02t on Tuesday June 09, 2020 @05:40PM (#23471218)
They did it before with Rosetta when they switched to Intel. Times and uses are different, but it'd be hard to imagine otherwise.
Re:Apple will announce move to ARM-based Macs later this month by jacquesm on Tuesday June 09, 2020 @05:48PM (#23471310)
> That would set a terrible precedent for personal computing.

That precedent was set about a decade ago, and even here on HN there is a vast crowd of people who happily support(ed) that.

Re:Apple will announce move to ARM-based Macs later this month by trthomps on Tuesday June 09, 2020 @05:44PM (#23471266)
Honestly as a dev, this would make life a lot easier for a lot of engineers. People who care about openness will still have Linux and it's variants. The general population does not need that level of flexibility and just adds to the cost of developing / managing software. Web browsers wouldn't have taken off if writing thick apps and distributing them for Windows/MacOS was as easy to support as writing an iOS/Android app is today.
Re:Apple will announce move to ARM-based Macs later this month by Kovah on Tuesday June 09, 2020 @05:43PM (#23471252)
On the one side, locking down the Mac even more would be the worst idea Apple could have because this would push even more users out of their system. On the other side, looking back at the past few years, it is quite possible that they do so. The recent changes in both their OS and hardware indicate that they absolutely don't care about their pro users.

Hard to predict which path they choose, but I try to stay positive and assume that they have at least one manager capable of thinking rational and in favor of the pro users.