News for hackers. Stuff that matters.
Re:Firefox beta supports Apple silicon natively by amanzi on Tuesday November 17, 2020 @07:30PM (#25131727)
This is great news. Based on the early reviews coming in, native Apple apps perform amazingly well on the M1 chips. So it's going to be really important for third-party apps to support M1 natively to remain competitive.
Re:Firefox beta supports Apple silicon natively by CamJN on Tuesday November 17, 2020 @07:45PM (#25131846)
As a diehard Firefox user, it has never been competitive with safari when it comes to performance. JavaScriptCore and WebKit are kind of ridiculously fast. If only they were put in a browser that was at all usable.
Re:Firefox beta supports Apple silicon natively by beached_whale on Tuesday November 17, 2020 @08:16PM (#25132064)
Firefox doesn't stutter on infinite scroll sites like Twitter. Safari noticeably does, even in Big Sur.

So I am torn between the two.

Re:Firefox beta supports Apple silicon natively by alwillis on Wednesday November 18, 2020 @01:04AM (#25133678)
I've not seen Safari stutter as you describe, especially with version 14 which got a big speed boost in general and especially on Big Sur.

Here's a link to a tweet showing Safari with 400 tabs on a M1 MacBook Air… the performance is incredible.

Turns out Chrome choked and became unresponsive when trying to do the same thing: https://twitter.com/panzer/status/1328790134548905985?s=20

Re:Firefox beta supports Apple silicon natively by Betelgeuse90 on Wednesday November 18, 2020 @04:15AM (#25134700)
I'm also seeing significant stuttering on Twitter on Big Sur on Safari 14.0.1. Chrome scrolls smoothly in comparison. Same deal on Reddit. Then again it was still the case before Big Sur and Safari 14, so I can't call it a regression.
Re:Firefox beta supports Apple silicon natively by Klonoar on Tuesday November 17, 2020 @08:33PM (#25132167)
I have the exact opposite experience, FWIW.
Re:Firefox beta supports Apple silicon natively by imagetic on Tuesday November 17, 2020 @08:46PM (#25132246)
Same. Safari is by far the smoothest experience for me today.
Re:Firefox beta supports Apple silicon natively by beached_whale on Tuesday November 17, 2020 @09:04PM (#25132348)
Firefox is still a bit smoother, but just found the culprit too. It's 1Blocker.
Re:Firefox beta supports Apple silicon natively by beached_whale on Tuesday November 17, 2020 @09:34PM (#25132554)
To be fair, Firefox also has the eff extensions and UBO
Re:Firefox beta supports Apple silicon natively by hi5eyes on Tuesday November 17, 2020 @09:47PM (#25132639)
safari and ublock feel better
Re:Firefox beta supports Apple silicon natively by beached_whale on Tuesday November 17, 2020 @10:54PM (#25133020)
There was something with UBlock or Adblock Plus in the past and if it wasn't UBO I wasn't sure if they were trust worthy. I think one went rogue and one started selling the ability to unblock ads. But, with Safari 14 being able to transform chrome extensions, I hope that some of the popular ones and EFF ones can migrate.

I ended up migrating to Better as it uses Apple's API for this(I think it's a list of things to block), is OSS, and Apple seemed to be helping them with a change of ownership publicly and that lended some trust.

Re:Firefox beta supports Apple silicon natively by rz2k on Wednesday November 18, 2020 @12:53AM (#25133633)
The short answer is that uBlock Origin is what almost all users are likely to want.

uBlock (without Origin in the name) is property of the same owners as AdBlock Plus, and both extensions whitelist ads under their owners' "Acceptable Ads" program, with many of the advertisers paying for that special access.

Re:Firefox beta supports Apple silicon natively by Existenceblinks on Wednesday November 18, 2020 @12:35AM (#25133559)
Safari is worst for drag-and-drop, for certain amount of DOM nodes, it becomes undragable.
Re:Firefox beta supports Apple silicon natively by angristan on Thursday November 26, 2020 @05:11AM (#25218578)
Re:Firefox beta supports Apple silicon natively by hombre_fatal on Tuesday November 17, 2020 @08:19PM (#25132085)
Praised with faint condemnation.
Re:Firefox beta supports Apple silicon natively by astkaasa on Tuesday November 17, 2020 @09:34PM (#25132559)
safari cannot preview ph videos like chrome/edge, that's a huge lost for me
Re:Firefox beta supports Apple silicon natively by alwillis on Wednesday November 18, 2020 @01:39AM (#25133830)
It’s probably in a container format (WebM or Ogg?) that Chrome recognizes but Safari doesn't.
Re:Firefox beta supports Apple silicon natively by dustingetz on Tuesday November 17, 2020 @09:50PM (#25132666)
scroll perf can be impacted by display scaling especially to non-native resolution, maybe someone else can fill in the specifics
Re:Firefox beta supports Apple silicon natively by bikeshaving on Tuesday November 17, 2020 @07:51PM (#25131892)
Have you tried Safari 14? I recently upgraded and they’ve finally fixed the address bar race conditions and swipe back/forward lag which drove me away in previous versions.
Re:Firefox beta supports Apple silicon natively by wpm on Tuesday November 17, 2020 @08:07PM (#25132010)
14 corrects most of 13’s sins but the extensions are still shit. No add blocker comes close to UBO, no Reddit Enhancement Suite, no BetterTTV. I’m honestly surprised TamperMonkey works but that’s one of a set of full-fat extensions I need.
Re:Firefox beta supports Apple silicon natively by freediver on Tuesday November 17, 2020 @10:22PM (#25132838)
Working on a native macOS Webkit-based browser with UBO and other extensions supported out of the box. Email me for alpha version if interested.
Re:Firefox beta supports Apple silicon natively by jorl17 on Tuesday November 17, 2020 @08:26PM (#25132122)
Sorry to but in but do you perhaps know if they've addressed the issues that made me switch from Safari to Firefox maybe 2 years ago? I listed them here https://news.ycombinator.com/item?id=25132068
Re:Firefox beta supports Apple silicon natively by bikeshaving on Tuesday November 17, 2020 @08:38PM (#25132197)
I’m very familiar with Safari address bar issues, where sometimes Safari just fails to navigate to a URL and you get an audible bell, or just general weirdness when you type too fast, and can say I have yet to experience these same issues in 14. I’m sure there are other problems but Safari has generally improved with every release.

RE: extensions, I run Adguard for Safari and that’s pretty much it; it’s free and it catches most ads. Safari also has built in tracker blocking now, which is nice to have but more or less ignorable.

The nice thing about having Safari be your main browser is that you can reserve Chrome for development, and having a vanilla Chrome browser where content scripts don’t haphazardly log things to the console or block requests is really nice.

Re:Firefox beta supports Apple silicon natively by alwillis on Tuesday November 17, 2020 @09:23PM (#25132482)
Short answer: Safari 14 supports the same standard for extensions that Firefox and Chrome do, with the addition of some security issues the other browsers don't seem to care about, including not implementing certain features to hurt privacy and security.

Many authors have used Apple's utility to convert their extensions for use in Safari.

It's pretty straightforward; here's an example: https://ngyikp.com/safari-14-webextensions/

The author will likely need to make a few tweaks and changes; it shouldn't be that hard.

Re:Firefox beta supports Apple silicon natively by brundolf on Tuesday November 17, 2020 @07:44PM (#25131841)
From what I've read the performance is very competitive even for Rosetta apps. Native support will just make things even more astounding.
Re:Firefox beta supports Apple silicon natively by zrm on Tuesday November 17, 2020 @07:58PM (#25131965)
It looks like you lose about 30% performance to Rosetta. That's quite a lot, and makes it slower than current x86-64 processors, e.g. Ryzen 5000 series, or even the Ryzen 3000 series. But compared to x86-64 Macs it's not that much slower, because the x86-64 Macs are using old slower Intel CPUs.
Re:Firefox beta supports Apple silicon natively by alwillis on Tuesday November 17, 2020 @09:45PM (#25132622)
But compared to x86-64 Macs it's not that much slower, because the x86-64 Macs are using old slower Intel CPUs.

Depends on the app but some of them run faster in Rosetta than they do on comparable PC hardware.

Everyone keeps comparing a SoC designed for low-end (in the Apple lineup/ecosystem) to the Ryzen. As the AnandTech review noted, the M1 bests even the Ryzen on some benchmarks and Ryzen beats it in others.

The point everyone conveniently seems to miss is a new SoC for mobile devices running at 10-20 watts shouldn't be in the same universe when it comes to performance with any Ryzen desktop processor—but here we are.

It's disingenuous to state the only reason M1 seems fast is because all Macs are using old, slow processors.

The 16-inch MacBook Pro ($2,799.00) comes with a 2.3GHz 8‑core 9th‑generation Intel Core i9 processor, Turbo Boost up to 4.8GHz and for an additional $200, you can get it with a 2.4GHz 8‑core 9th‑generation Intel Core i9 processor, Turbo Boost up to 5.0GHz.

And yet the new 13-inch MacBook Pro with it's M1 processor blows them away when it comes to performance.

Here's a direct quote from their extensive review of the M1-based Mac mini (https://www.anandtech.com/show/16252/mac-mini-apple-m1-teste...):

The M1 undisputedly outperforms the core performance of everything Intel has to offer, and battles it with AMD’s new Zen3, winning some, losing some. And in the mobile space in particular, there doesn’t seem to be an equivalent in either ST or MT performance – at least within the same power budgets.

Re:Firefox beta supports Apple silicon natively by zrm on Tuesday November 17, 2020 @11:00PM (#25133062)
> The point everyone conveniently seems to miss is a new SoC for mobile devices running at 10-20 watts shouldn't be in the same universe when it comes to performance with any Ryzen desktop processor—but here we are.

10-20 watts is how much desktop processors use for a single thread, so they're not claiming an unfair advantage there. It would be truly impressive if the M1 at that power level was competitive with desktop processors on multi-threaded workloads where they actually use their full TDP, but it isn't even close.

> The 16-inch MacBook Pro ($2,799.00) comes with a 2.3GHz 8‑core 9th‑generation Intel Core i9 processor, Turbo Boost up to 4.8GHz and for an additional $200, you can get it with a 2.4GHz 8‑core 9th‑generation Intel Core i9 processor, Turbo Boost up to 5.0GHz.

Which are old slower Intel CPUs. Intel's latest is 10th-generation and even those are slower than Ryzen, much less the older 9th-generation ones. And even those older Intel mobile CPUs defeat the M1 on multi-threaded workloads like Cinebench.

Core i9-9880H scores 8311 compared to 7833 for the M1 (native):

https://www.cpu-monkey.com/en/cpu-intel_core_i9_9880h-958

https://www.anandtech.com/show/16252/mac-mini-apple-m1-teste...

Re:Firefox beta supports Apple silicon natively by alwillis on Wednesday November 18, 2020 @12:44AM (#25133600)
Which are old slower Intel CPUs. Intel's latest is 10th-generation and even those are slower than Ryzen, much less the older 9th-generation ones. And even those older Intel mobile CPUs defeat the M1 on multi-threaded workloads like Cinebench.

You seem to be ignoring the benchmarks where the M1 beats the Ryzen 9 5950X on several--but not all--benchmarks. [1]

From the article: In SPECint2006, we’re now seeing the M1 close the gap to AMD’s Zen3, beating it in several workloads now, which increasing the gap to Intel’s new Tiger Lake design as well as their top-performing desktop CPU, which the M1 now beats in the majority of workloads.

And there's this: The situation doesn’t change too much with the newer SPECint2017 suite. Apple’s Firestorm core here remains extremely impressive, at worst matching up Intel’s new Tiger Lake CPU in single-threaded performance, and at best, keeping up and sometimes beating AMD’s new Zen3 CPU in the new Ryzen 5000 chips.

And regarding power consumption: While AMD’s Zen3 still holds the leads in several workloads, we need to remind ourselves that this comes at a great cost in power consumption in the +49W range while the Apple M1 here is using 7-8W total device active power.

That's the point I previously made—Apple’s first go at making their own processors for their entry level laptops and the Mac mini is super competitive with AMD's newest and best processors and beats it in several benchmarks, at a fraction of the cost and power consumption.

That's pretty impressive.

It has to make one wonder what the results will be when Apple ships a processor made for higher-end desktops, where they won't have the thermal and power restrictions of a laptop processor?

I'm sure when they were contemplating a transition away from Intel, they had to do their due diligence and consider if AMD could be an option. But clearly they knew they have a much higher ceiling with their architecture.

You know there are prototypes in Apple's lab now that far surpass Ryzen that'll be in machines spring/summer 2021. Apple's been relentless with shipping faster A series chips every year for the iPhone; I suspect we'll see the same thing with the M series.

[1]: https://www.anandtech.com/show/16252/mac-mini-apple-m1-teste...

Re:Firefox beta supports Apple silicon natively by zrm on Thursday November 19, 2020 @10:44AM (#25150629)
> You seem to be ignoring the benchmarks where the M1 beats the Ryzen 9 5950X on several--but not all--benchmarks.

These are all single-threaded benchmarks. They don't even list the 5950X for the multi-threaded benchmarks because it's not even a comparison -- CineBench R23 MT for the M1 is 7833, the 5950X is 28641.

> And regarding power consumption: While AMD’s Zen3 still holds the leads in several workloads, we need to remind ourselves that this comes at a great cost in power consumption in the +49W range while the Apple M1 here is using 7-8W total device active power.

Which is, again, not surprising, because of the way CPU power curves work. The mobile Ryzen U-series processors have a similar power consumption to the M1. The desktop versions of the same processors are only slightly faster for a single thread but use a lot more power, because that last few hundred MHz is extremely inefficient and has only a marginal performance gain, so you only do that on desktop where power consumption isn't a priority.

A mobile processor being more power efficient than a desktop processor isn't a novelty. A mobile processor having about the same single thread performance as a desktop processor isn't a novelty. These things are par for the course. If they weren't true you aren't even in the game. Desktop processors primarily use their TDP to hold higher clocks even when running many threads.

> at a fraction of the cost

But you're again comparing a 16-core desktop processor to a 4+4 core mobile processor when the desktop processor would embarrass it on anything threaded, which is why it costs more. The lower core count processors have nearly the same single thread performance and cost less than half as much, and the "budget" Zen 3 processors, which should again have similar single thread performance, weren't the first to be released.

> It has to make one wonder what the results will be when Apple ships a processor made for higher-end desktops, where they won't have the thermal and power restrictions of a laptop processor?

It's not hard to infer what would happen. It would have marginally better single thread performance and much better multi-thread performance. Which is what the competing desktop processors already have.

> You know there are prototypes in Apple's lab now that far surpass Ryzen that'll be in machines spring/summer 2021.

But then it'll be competing with Zen 4 on 5nm and Socket AM5 with DDR5 memory. And 5nm and faster memory are two of the obvious reasons that the M1 is competitive as it is.

Re:Firefox beta supports Apple silicon natively by alwillis on Tuesday November 17, 2020 @09:47PM (#25132645)
It looks like you lose about 30% performance to Rosetta.

Regarding Rosetta, the AnandTech conclusion is (https://www.anandtech.com/show/16252/mac-mini-apple-m1-teste...):

The software side of things already look good on day 1 due to Apple’s Rosetta2. Whilst the software doesn’t offer the best the hardware can offer, with time, as developers migrate their applications to native Apple Silicon support, the ecosystem will flourish. And in the meantime, the M1 is fast enough that it can absorb the performance hit from Rosetta2 and still deliver solid performance for all but the most CPU-critical x86 applications.

Re:Firefox beta supports Apple silicon natively by jmgao on Tuesday November 17, 2020 @08:32PM (#25132156)
And that's for static code. Chrome runs like garbage under rosetta for me, with frequent stutters, presumably because of the cost of dynamically recompiling freshly emitted code.
Re:Firefox beta supports Apple silicon natively by nly on Tuesday November 17, 2020 @08:38PM (#25132193)
It's actually a marvel that it can even JIT translate the output of another JIT...
Re:Firefox beta supports Apple silicon natively by megablast on Tuesday November 17, 2020 @08:22PM (#25132096)
Early reviews suggest x86 apps run very fast too.
Re:Firefox beta supports Apple silicon natively by h0l0cube on Tuesday November 17, 2020 @09:19PM (#25132459)
I believe that's due to ahead-of-time transpilation, but as noted in another thread, JIT code within the browser would need to be transpiled just-in-time which would mean pauses during runtime.