I don’t think apps not signed by Apple themselves can mark read/write memory pages as read/execute - that’s needed for any modern JIT-based JavaScript engine to work.
The only way to compete with Apple in the browsers space on iOS is to build your own app marketplace/store, since Apple controls distribution through the App Store.
The only way to compete with Apple in the app store space is to build your own OS, since iOS only allows the Apple App Store, not competing ones.
The only way to compete with Apple in the OS space is to build your own hardware (or buy from someone else and distribute), since Apple hardware locks out other operating systems from running.
So the only way to compete with Apple in a space where they've decided you aren't allowed to is to replace their entire platform stack, and compete with them at the platform level.
So to compete with Apple in the browser space you have to compete at the level of Google, where you make hardware, the OS, and the marketplace, and hope people move over wholesale to your hardware and OS just so they can use your browser.
That's why Apple's behavior is anti-competitive. They've put walls to competition in place at every possible level to make it so the amount of money and expertise required to compete at any level is the same to competing at almost all levels.
You explain in detail what it would take to compete with Apple, but you’re trying to make the point that this is impossible to do, when in fact many smartphone manufacturers have done precisely that. Apple has a very small global market share on smartphones and only around 50% in the US.
> You explain in detail what it would take to compete with Apple, but you’re trying to make the point that this is impossible to do, when in fact many smartphone manufacturers have done precisely that.
You say "many smartphone manufacturers" but in practice there aren't actually that many smartphone manufacturers. Moreover, there is only really one -- Google -- which has actually done it. All the others license their software stack from Google. Even Microsoft made a serious attempt to do this and failed.
Your claim is that an individual app developer who wants to compete with an Apple app on iOS could feasibly do this?
> when in fact many smartphone manufacturers have done precisely that
Yes, if you're already poised at the lowest part of the platform stack, you can sell hardware that competes with Apple's hardware, but it can't fully compete, because you can't offer a better solution to host iOS on, you can only offer to be part of platform that competes. You cannot compete with Apple hardware directly on just the hardware level.
> Apple has a very small global market share on smartphones and only around 50% in the US.
I'm not making a case that Apple is a monopoly. I'm making a case that their action are anti-competitive (I'm using this term divorced from any specific legal meaning), and thus bad for their users in that respect.
Would allowing other hardware to run iOS be better or worse for users of iOS and the rest of the Apple ecosystem? In some ways better, in some ways worse, but we can't rely on the market to tell us the result of that specific question, because the market is constrained. We can look at each level of the platform stack similarly.
This is usually brought up as a matter of user choice, but I think it's important to distil that to what it means, competition. Choice means there are at least two competing things to choose from, an given that our economic model requires choice (among other things, such as information about choices) to function correctly.
Do I think Apple has a monopoly, as previously defined by law? No. But I think it's important to note that nobody had a monopoly as defined by law before the late 1800's, because that legal definition didn't exist, and was created to deal with harms we saw because of anti-competitive actions. So, I think Apple isn't a monopoly as we currently define it, but I do think their actions are anti-competitive in large and obvious ways, and that we may need to address that in some manner legislatively. That may mean altering the legal definition of monopoly so it matches, or it may just mean putting some select laws in place to hamper specific anti-competitive behavior (for example, a consumer right to be able to run whatever software you want on your hardware would address some small aspect of this).
That said, I've been a bit loose here in verifying some of my terminology about legal points, and IIRC you have experience in that domain, so I'm sure you can correct me on that if you feel it warranted (and I would welcome it, as well of course as any specific problems you think my argument has).
> Apple explicitly allow for loading your own apps, your opening gambit is a flat out lie.
The context of this discussion distributing software on Apple's platform, not installing your own software. Your own software is not market competition. The comments up-thread specifically cover this, so I don't know why you would think I was stating otherwise in a general sense, rather than working within the context of the discussion.
So, can sideloading be used as a way to distribute software you want to sell? Not legally, based on the restrictions Apple has put in place for sideloading. The closest you could get to my knowledge would be the enterprise program, which is only intended to be used to distribute software to employees.
There's also the point that the hoops required to successfully sideload an app are themselves a fairly large wall to being able to use it even at the level of a single person wanting to install something, even if it wasn't disallowed by different agreements you must make to do so.