21 ms·
It's clear AS is a great advancement in general computing, but every piece like this reads as "the hardware is amazing, and it's totally worth it to work around
by jeroenhd 5y ago
It's clear AS is a great advancement in general computing, but every piece like this reads as "the hardware is amazing, and it's totally worth it to work around these arbitrary software restrictions".
This performance would've been available on iPads years ago if it wasn't for Apple's blanket ban on JIT and the likes.
Apple is one of those companies whose hardware I'd love to have if it wasn't for their software and general corporate decisions. Until I can run a proper version of Firefox on iPad, I'll have to stick with the objectively inferior hardware for the coming years.
- meepmorp 5y agoThis is a really unpopular take on Apple for HN, so I can see why you're getting downvoted.
- threeseed 5y agoYou are either being disingenuous or completely oblivious because the “I want a fully open iOS platform” is the most popular take on Apple.
- meepmorp 5y agoMy god, you're right - it has to exactly one of the two options you posit!
- gjsman-1000 5y agoAnd also it is quite possible that we are in an echo chamber, because outside of hacker news and a few circles like it, there might be less support for this than we wish.
- PragmaticPulp 5y agoThe Write XOR Execute restriction discussed in the article is a security feature, and it’s greatly beneficial from a security standpoint. > Until I can run a proper version of Firefox on iPad FireFox for iOS works just fine. The Gecko vs WebKit difference doesn’t really matter in practice. If you want general purpose computing, just get a Mac. You can run Firefox and any other program you’d like. It would be great if there was an opt-in developer mode on iOS that bypassed certain restrictions, but I also understand why Apple chose to go with security and simplicity as 99.9+% of their customers have no need nor desire to go beyond the security and platform restrictions. I have both an iPad Pro with keyboard case and a MacBook. Even if I could run whatever I wanted on the iPad, I’d still be reaching for the MacBook because it’s just a better physical platform for doing anything other than simple touchscreen and stylus work.
- sp332 5y agoFirefox on iOS is not Gecko. Like all other browsers on iOS, it is a skin on the OS-provided Webkit. This is because fast JS execution depends on operations that are illegal for apps to access.
- r00fus 5y agoSo we're talking about the M1 Macs, not iPhones - Firefox on Mac is Gecko. So the comparison of Webkit (iOS FF) vs. Gecko (Mac FF) is the comparison being made as you can download both if you want.
- sp332 5y agoW^X JIT seems to have been solved in Firefox in 2016. https://www.phoronix.com/scan.php?page=news_item&px=W-XOR-E-Firefox https://www.phoronix.com/scan.php?page=news_item&px=W-XOR-E-... So that's not the specific blocker for Gecko on iOS.
- Rhedox 5y agoW^X doesn't get you very far on iOS. Apps are not allowed to make pages executable at all.
- wffurr 5y agoThere is an opt-in developer mode on iOS. You can compile and install any software you want on your own iPad; no paid Apple developer account needed. There’s even a way to get W^X memory regions on iOS by abusing ptrace: https://saagarjha.com/blog/2020/02/23/jailed-just-in-time-compilation-on-ios/ https://saagarjha.com/blog/2020/02/23/jailed-just-in-time-co... It can’t be submitted to the App Store or deployed with TestFlight, but you can build and install an app using that hack just fine on your own device. Open source browser vendors, like Firefox and Chromium, could provide builds that enable a full browser engine experience on iOS devices, were they to think it worth the effort.
- 5y ago
- nojito 5y agoApple doesn't sell hardware/software. They sell experiences. It's not in their interest to sell/provide and support an experience they didn't make. Their success shows that experiences are all that really matter despite what the vocal HN userbase routinely shares.
- threeseed 5y agoI always laugh when I read comments saying they won’t buy an iPad because it doesn’t have custom browsing engines, terminals, network sniffers, emulators, VMs etc. As though Apple is an open source company selling to developers.
- alisonkisk 5y agoSo much for diversity and inclusion.
- kstenerud 5y agoI see it this way: Apple played the part of trailblazer, demonstrating that it was possible to run circles around Intel with modern RISC designs. We'll be seeing many more entries into the marketplace over the next few years, and MUCH greater diversity and consumer choice as a result. Sure, Apple did it for selfish reasons and they'll keep their platforms locked up as much as they can get away with, but the end result is a benefit for all as powerful and open RISC systems proliferate.
- dmitriid 5y ago> e'll be seeing many more entries into the marketplace over the next few years No, not in the next few years. In 10 years? Maybe. https://news.ycombinator.com/item?id=26917136 https://news.ycombinator.com/item?id=26917136
- kstenerud 5y agoThis isn't a question of capability (which is already there), but rather of mindset. Now that the other companies know that it's possible to sell a $1000 ARM computer that's not a phone or a toy, they'll be falling all over themselves to join in on the gold rush. Lots of absolute crap will ensue as they mindlessly bumble their way through shitty designs, and then in a few years we'll see the first decent non-apple ARM desktop and laptop computers. And by that time, Microsoft will have dusted off their ARM code, major Linux distros will be giving real love to their ARM packacing.
- dmitriid 5y agoIt took Apple more than 10 years to get a CPU that performs same or better as Intel's CPUs and can be put into a laptop or a desktop computer. To produce a "decent non-apple ARM desktop and laptop computers" other companies need to have started developing such a CPU 5 years ago.
- jorvi 5y agoIf that was true, Snapdragon, Kirin or Exynos designs would have caught up by now. The fact is that because Apple sells the iPhone for high profit margin and earns from the services and software sold on each iPhone, they can afford to stick a big, expensive chip in there. In contrast, profit margins on most Android phones are razor thin. Qualcomm has to design a chip that performs relatively well for as 'expensive' as the market can bear, as when their top chip is too expensive, OEMs will just build their phone with one of the lower tier Snapdragons. Once you adjust for transistor count, Snapdragons et al are much closer to Apple's A-series than you'd think at first glance. As for the M1, what shouldn't be discounted is the fact that Apple controls the entire stack, which means they could build in special features into it that together with Rosetta 2 make running X86 relatively performant.
- threeseed 5y agoApple’s blanket ban on interpreted code is not arbitrary. It is there to prevent apps circumventing the review process and security model ie. apps pretending to do X during the review process and then doing Y when in use or obfuscating their use of private APIs. Now you can argue these restrictions are unreasonable but many of us don’t want our iPads or iPhones to be like our computers.
- notsureaboutpg 5y agoFine, they aren't arbitrary (obviously a company worth that much isn't making any arbitrary decisions). But they still suck and degrade the performance for computing enthusiasts who most on this platform are (including me). I want to push hardware to it's limits because it's fun because there's fun things out there when you do that. Apple wants me to not bork my system or get confused when an app tricks me or have to show up at their Genius Bar with a problem they can't fix from a third party app they've never heard of. That's fine, but I won't get in that situation, so I don't want hardware locked down by software that worries I will.
- alisonkisk 5y ago> many of us don’t want our iPads or iPhones to be like our computers. Thats completely irrelevant to anyone else's iPad, which has no impact on your iPad's security. Would you be in favor of Apple banning whatever Mac OS app you use because I don't want to use it? And what even is the point of having a secure iPad if you're also going to run an insecure computer?
- TheCraiggers 5y ago> many of us don’t want our iPads or iPhones to be like our computers And many of us do. I would never buy a locked-down piece of hardware like that. But I don't think it matters either way what either side wants, because it's what Apple wants that matters. They want to keep their walled garden's walls air tight, and there are apparently enough people that are OK living in that garden that it works. I'm positive that they have done the calculus that they'll make more money in the long/short term by behaving this way. Google did a similar calculus, with a different set of values (if not an entirely different set of variables altogether) and came up with a different answer. Although it's interesting to see how their position has shifted over the years to be a bit more like Apple in some regards. Regardless, the point is they don't care what you want once they've gotten to the point of getting your money. Past that, they only care about maximizing their profit.
- jonathanstrange 5y agoNot to be contrary for being contrary, but for me it's pretty much he opposite. I've never had complaints about the software when I was an Apple customer (i.e. from 1992 to 2007) and don't have reasons that there is any particular software problem. But the hardware keeps me from buying macs. It doesn't matter how fast Apple's laptops become, as long as they don't have replaceable batteries, have insufficient RAM, and do not come with glare-free screens, I'm not going to become an Apple customer (or developer) ever again. The power cables are too short and the obsolescence is too planned in modern Apple hardware.
- mcphage 5y ago> the obsolescence is too planned in modern Apple hardware I'm fairly confident Apple hardware has a much longer usable lifespan than competing products—that's why the maintain so much value in the second-hand market.
- gjsman-1000 5y agoAnd for the downvoters, is an iPhone, or an Android, the one that gets more software updates and maintenance over time?
- jolux 5y agoI'm definitely a little annoyed they don't bundle the extension cables with the MacBooks anymore. It feels like nickel-and-diming. That being said, MacBook displays do have antireflective coating, though it's been known to wear off historically. They have been pretty good about replacing it though. As for RAM, you can get 13" MacBook Pros with 32GB of RAM and 16" MacBook Pros with 64GB of RAM, and if that's not enough you're probably not going to have the easiest time finding options with more from other manufacturers, especially in a form factor that isn't a gigantic brick.
- foldr 5y ago> do not come with glare-free screens Do you mean that you want a matte screen? If not, Mac screens are generally among the brightest on the market and have very good anti-reflective coatings. Almost any competing laptop in the same price bracket is likely to have a lower quality screen.
- klelatti 5y agoYou can't separate the hardware from the software and corporate decisions though. The problem you've got here is that the iOS model has worked incredibly well for Apple. Without that you wouldn't have had the investment that has delivered the M1. I'd love to be able to run Firefox on the iPad. I also disagree strongly with some of Apple's decisions - especially on the App Store. However, where we are now is a better outcome than a hypothetical position where iOS is less successful and Apple is using inferior CPU designs. After all I can always buy an Android tablet if I want to run Firefox.
- deleted 5y ago[deleted]
- jtdev 5y agoI run Firefox on iPad with zero problems…
- klelatti 5y agoI'm sure you know but Firefox on the iPad uses Apple's rendering engine Webkit and not Mozilla's Gecko -so arguably it's more like Safari than desktop Firefox.
- ianai 5y agoWe’d all be spared confusion if you called it “Firefox sans WebKit”. It probably is too much to expect everyone reading a comment to know about the rendering bit.
- klelatti 5y agoSorry no idea at all what you're saying here. If you know what WebKit is then you probably know what rendering means.
- jtdev 5y agoWhy should I care? It works beautifully… I have zero concern for what rendering engine Firefox on iPad uses.
- philistine 5y agoIt’s undeniable that a whole class of ARM software was prevented from even being conceived because it has to pass the App Store’s Byzantine set of rules. On the other hand, I see so many software developers vehemently refuse to notarize their Mac versions. Notarization is far less egregious and it pains me to see so many straight up refuse to even consider it as an alternative to the iron grip of the App Store.
- jeroenhd 5y agoAs a non-Mac developer, what does it mean to notarize a piece of software? Is that something you need to do in order to be able to run a piece of software these days?
- my123 5y agoIt's used as part of Gatekeeper for software downloaded from the internet. See https://developer.apple.com/documentation/security/notarizing_macos_software_before_distribution https://developer.apple.com/documentation/security/notarizin... for the notarisation process and https://support.apple.com/en-us/HT202491 https://support.apple.com/en-us/HT202491 for the customer-facing documentation, which includes how to work around it when needed. Gatekeeper can be totally disabled via sudo spctl --master-disable.
- jeroenhd 5y agoI see. That's a pretty developer-hostile measure. Luckily, I don't intend to ever ship any software to Macs, so it's not a problem to me. If I did want to ship a Mac version of any tool I'd write, I'd pretty hesitant to jump through Apple's hoops, so I can understand why developers don't want to notarize their stuff.
- my123 5y agoFor Windows, distribution without signing isn't exactly painless either, and the signing certificates for that are quite expensive. And there, it's not even deterministic, see https://www.digicert.com/dc/blog/ms-smartscreen-application-reputation/ https://www.digicert.com/dc/blog/ms-smartscreen-application-... The goal of the system is to authenticate which developer made a given piece of software, to be able to track the spread of malware. An option is always given for a user to opt-out.
- fartcannon 5y agoIt's even worse when you consider the cost to humanity. They pay the brightest minds they can find to build walled gardens around knowledge. This is the same reason I don't use Microsoft or Google's stuff unless I have to. Knowledge wants to be free.
- coldcode 5y agoYes and people take advantage of that freedom to extract a terrible toll on society in lost privacy, freedom, money, terror and the like. There is no freedom for just the good people without also allowing freedom for those who prey on others. It's like arguing that we should have no laws whatsoever because they impact your freedom to do whatever you want—but no one wants to live in that society. If you don't like Apple or Google or Microsoft that is still your privilege but arguing that is what everyone should have is disingenuous. The Internet supports your freedom to say or do whatever but people every day show that without some limits everyone suffers. You might think you are smart enough to defeat all those who will try to take you out, but there are much smarter people than you or I out there and lots more of them, and many of them are evil.
- fartcannon 5y agoYour comment reminds me of that Simpson's clip where they move and Bart is put in the remdial Leg Up Program: “Let me get this straight. We’re behind the rest of our class and we’re going to catch up to them by going slower than they are?”
- jtdev 5y agoI quite appreciate Apple’s software and general corporate decisions. Can you tell me about a better software/hardware vendor out there?
- Vrondi 5y agoYes.
- Gorbzel 5y agoGuess what? No one does or should care about your opinion of Apple’s software restrictions or corporate philosophy here. As per the article, those visiting the comments were primarily interested in discussion about JIT performance, comparisons between ARM and x64 instruction sets, GameCube/Wii emulation, etc. Instead, every single post on HN even tangentially involving Apple is taken over by these self-important haters and their mindless takes, which are often full of false assertions anyhow. You are a platform war spammer and nothing more. It’s a shame the admins won’t put a stop to this, as it’s turning Hacker News into a vehement cesspool for discussion.
- whoknowswhat11 5y agoTotally agreed. It's kind of pathetic. The only reason apple was able to pull of the M1 transition the way they were able to is BECAUSE they have such control over their ecosystem. Windows / Microsoft tried with itanium and ARM with much less success. The platform war folks always take the most negative view possible, cannot even IMAGINE why apple might have chosen the approach they chose. Well, M1 is what happens when you control your platform. PowerPC / Intel / ARM -> this control has let apple evolve dramatically.
- dang 5y agoYou do a disservice to your own position by breaking the site guidelines so badly. This is in no way an acceptable comment, regardless of any bad things other people may be doing. Please read the rules and stick to them: https://news.ycombinator.com/newsguidelines.html https://news.ycombinator.com/newsguidelines.html. We've marked the GP comment off topic now. Certainly it was an example of a generic top subthread, which are the black holes of HN discussion: https://hn.algolia.com/?dateRange=all&page=0&prefix=true&query=by%3Adang%20black%20hole&sort=byDate&type=story&type=comment https://hn.algolia.com/?dateRange=all&page=0&prefix=true&que.... Between this and your other recent flamewar comment on the topic (https://news.ycombinator.com/item?id=26994894 https://news.ycombinator.com/item?id=26994894), I fear you may be falling prey to the community-bias fallacy that I wrote about in a completely different context earlier today: https://news.ycombinator.com/item?id=27268490 https://news.ycombinator.com/item?id=27268490. HN isn't pro-Apple or anti-Apple — it has users who fall into both of those camps, as for any $BigCo, but unfortunately they each perceive the community as dominated by the other side, which leads to a lot of very bad flamewar comments from both camps. Please don't post like that any more. Instead, if you see a generic comment taking a thread badly off topic in a predictable way, let us know at https://news.ycombinator.com/newsguidelines.html https://news.ycombinator.com/newsguidelines.html so we can downweight it. Giving us a heads-up in such cases is one of the highest-leverage things people can do to improve the quality of HN threads.
- CPLNTN 5y agoThis is interesting, often I’ve read the opposite point of view, people that would love MacOS on an XPS or iOS on a one plus. I guess that changed a lot in recent years, I remember in 2016 when the new MacBooks came out that they were a straight up bad deal. Nowadays, with the M1 is totally the opposite
- Wowfunhappy 5y agoThis article isn't about the iPad, it's about the Mac. The Mac supports JITs. The only conformance change they had to make was marking memory as either write or execute, as opposed to both at the same time. You can execute whatever arbitrary code you want on an M1 Mac, up to and including completely custom kernels, if the user set their Mac to allow such code. It's not locked down and its not an iPad or an iPhone. I agree that the iPhone and iPad are unacceptably locked down, but the Mac is not, and there's absolutely no reason to group them together.
- heavyset_go 5y ago> It's not locked down You can't run unsigned ARM binaries on M1 Macs. Hell, you can't run un-Notarized apps on any Mac running a recent macOS release without knowing some arcane trick to open them.
- Wowfunhappy 5y ago> You can't run unsigned ARM binaries on M1 Macs They need to be ad-hoc codesigned; ie, codesigned with a certificate you made up on the fly, unapproved by any one. This is an implementation detail and nothing more; Apple likely did it to simplify how binaries are loaded. Running un-Notarized apps is extremely trivial if you know how to use the Terminal. IMO, anything you can easily turn off if you want to is "not locked down".
- intrasight 5y agoThey have amazing hardware because of the deep pockets that derive from their locked down hardware and software. I'm not putting a value judgement on that - there is plenty of open hardware and software. But here's my concern. What if Apple continues to pull ahead? How far ahead might they eventually be?
- mengineer 5y agoGiven the 1 and 2nm transistors, this minor increase in performance on non multithreaded applications will be obsolete in a few years.