One can still do C# development using only Windows SDK and/or dotnet SDK for "free".
You cannot do C/C++ or Rust developement without a license but with MinGW you also can do it without MS SDK. MS doesn't prevent people from using GCC compilers. Their core C++ developers even use it: https://nuwen.net/mingw.html
Apple could have said at the beginning "hey this is iPhone, there are no external apps for it though" - which was actually the case! iPhone did not have 3rd party apps at launch.
Then Apple could have said "good news everyone, you can now develop for the iPhone. Dev kits start at $10000 per unit, apply to partner with us, call us at this number" and that would be the end of it. Lots of gadgets still work like that and nobody bats an eye.
Apple decreased the barrier to entry and provided it as a service, charged for it but created good value in return, and it worked! But now that governments signal that they will punish such success, the next Apple will likely not go the way of low barrier of entry - this will hurt the regular folk, people with not so deep pockets.
The point is, nobody is disallowed from competing with Apple and its ecosystem on its merits. If Apple didn't provide enough value in return to what they ask, they would fail. Signaling that you will punish success with force means that the next Apple will be a lot more cautious about how they do things. Jacked up prices (as long as value proposition is there, people will pay, they will just pay more), requiring dev kits (can you force a company to change their hardware design so that it can be developed on? where is the limit?) / expensive partnership agreements / increasing the barrier to entry... Unless companies are "state owned" they have infinite ways to keep their profits at the expense of consumers. Apple's existing deal was a good deal - it was working, competition was (and is still) there. Now they will have to do the things that will just inconvenience users as a side effect, which is what they don't want to do, but they will be forced to do regardless.
My problem can be summarized as (assume the company in question is not a monopoly):
* Is it illegal to sell a device with a microprocessor in it that has no support for 3rd party programmability? -> no, most digital devices are like this in fact.
* Is it illegal to sell a computing device and develop software in house for it? Maybe charge for some of it? Still with no 3rd party support? -> no it is not illegal.
* Is it illegal then, to contract other developers / companies to write that "in house" software for the device you are making? -> no that is not illegal
* Is it illegal to make agreements with other companies to buy software / programming services from them to include in your device? -> no that is not illegal
* Is it illegal to make agreements with other companies so that they can sell licenses to "unlock" their software in your device and get a cut from their sales? -> no it is not illegal
* Is it illegal to sell dev kits to the the above? So the device in question is still not a device you can develop on - but you can create another device where 3rd parties can develop on, and you can sell it to them. You can also pick and choose which companies you will work with. None of this is illegal.
* Is it illegal to automate all of the above? Provide low barrier to entry, no bureaucracy, if you want to develop for the device just do, pay us $100 a year, and give us a cut and you are golden! No need to get into direct contact with us, wait months to get our manual approval - we streamline everything and even the little guy can participate? -> HN thinks that this suddenly must be illegal. If they are providing all this service, they should be legally forced to do all for free.
I just don't get the logic.
That’s just my personal opinion. The DMA is about anti-trust, that some companies are controlling a too large part of the cake, affecting too many users (end users as well as “business users”, e.g. app developers), which is bad for a competitive market and level playing field.
All of these are wrong. The answer to each of those is "It may or may not be legal depending on various factors including whether it is intentionally creating a monopolistic anti-competitive environment".
Laws are allowed to have very nuanced opinions where it's illegal for microsoft to disallow uninstalling Internet Explorer program (USA vs MS, 2001), but perfectly legal for microsoft do disallow installing the File Explorer program.
I know us programmers want laws to perfectly specified in unambiguous mathematics, but lawyers want laws to be specified in English with nuance and room for interpretation and judgement of intent and spirit.
It makes no sense to you because you are thinking like a programmer. Laws are for empathetic decent humans, not soulless hacker-news-posting programmers.