News for hackers. Stuff that matters.
Re:Swift at Apple: Migrating the Password Monitoring Service... by pjmlp on Wednesday June 04, 2025 @03:31AM (#44178100)
Ever heard of Swift macros?

Do you know where Java EE comes from?

It started as an Objective-C framework, a language which Swift has full interoperability with.

https://en.wikipedia.org/wiki/Distributed_Objects_Everywhere

Re:Swift at Apple: Migrating the Password Monitoring Service... by jen20 on Wednesday June 04, 2025 @10:40AM (#44181196)
> Ever heard of Swift macros?

Yes, having lived on the daily build bleeding edge of Swift for several years, including while macros were being developed, I have indeed heard of them.

> Do you know where Java EE comes from?

Fully aware of the history.

The point stands: it is substantially harder with Swift to make the kind of spring style mess that JVM apps typically become (of course there are exceptions: I typically suggest people write Java like Martin Thompson instead of Martin Fowler). Furthermore, _people just don’t do it_. I imagine you could visualise the percentage of swift server apps using an IOC container using no hands.

Re:Swift at Apple: Migrating the Password Monitoring Service... by pjmlp on Wednesday June 04, 2025 @02:45PM (#44184085)
First the amount of Swift server apps has to grow to a number that is actually relevant for enterprise architects to pay attention.

Then I can start counting.

Re:Swift at Apple: Migrating the Password Monitoring Service... by jen20 on Wednesday June 04, 2025 @04:58PM (#44185478)
That is the reason I used percentages, rather than absolute. For Java, every single app I’ve ever seen has been a massive shit show. For Swift, 0 of the 40-50 I’ve seen are.
Re:Swift at Apple: Migrating the Password Monitoring Service... by pjmlp on Thursday June 05, 2025 @02:40AM (#44188949)
For Swift to be a shit show on Fortune 500 Linux and Windows servers, someone has to start shipping them in volume, regardless of percentiles.

Any language can be a shit show, when enough people beyond the adoption curve write code in them, from the letcoders with MIT degree to the six week bootcamp learners shipping single functions as a package, and architects designing future proof architectures on whiteboards with SAFe.

When Swift finally crosses into this world, then we can compare how much of it has survived the world scale adoption exposure, beyond cozy Apple ecosystem.