> In comparison with the previous Java service, the updated backend delivers a 40% increase in performance, along with improved scalability, security, and availability. As is always the case with such rewrites, the big question is whether the improvements came from the choice of language or because they updated a crusty legacy codebase and fixed bugs/bottlenecks.
I'd typically agree with your comment but ... Given that they also experienced a 90% reduction in Memory Usage (presumably from Java GC vs Swift AOT memory management) - it seems more likely the gains are in fact from the difference in languages.
Swift at Apple: Migrating the Password Monitoring Service from Java
11–20 of 235 posts
Re: Swift at Apple: Migrating the Password Monitoring Service from Java
#12Earlier quoted context omitted.
IMO, Apple has quite the track record of never "meeting X where they are". They could make Xcode cross platform, but they never will.
There would be no point in doing that. All the devs they care about already have Macs. If you are on Windows or Linux and you want to work on Swift server side code then you can use their official LSP or VSCode extension in your favorite editor.
Re: Swift at Apple: Migrating the Password Monitoring Service from Java
#13A win on the board for ARC? Can anyone with more deep GC knowledge explain why this might be, considering the tweaks they made to G1? Is this a specific workload advantage, or does it apply generally?
Re: Swift at Apple: Migrating the Password Monitoring Service from Java
#14Re: Swift at Apple: Migrating the Password Monitoring Service from Java
#15Re: Swift at Apple: Migrating the Password Monitoring Service from Java
#16Earlier quoted context omitted.
I'd typically agree with your comment but ... Given that they also experienced a 90% reduction in Memory Usage (presumably from Java GC vs Swift AOT memory management) - it seems more likely the gains are in fact from the difference in languages.
The typical rule of thumb is that getting good performance out of tracing GC requires doubling your memory usage, so a 90% reduction suggests that they made significant improvements on top of the language switch.
Re: Swift at Apple: Migrating the Password Monitoring Service from Java
#17A win on the board for ARC? Can anyone with more deep GC knowledge explain why this might be, considering the tweaks they made to G1? Is this a specific workload advantage, or does it apply generally?
Re: Swift at Apple: Migrating the Password Monitoring Service from Java
#18Any idea of what the server platform is? Linux?
Re: Swift at Apple: Migrating the Password Monitoring Service from Java
#19Any idea of what the server platform is? Linux?
Re: Swift at Apple: Migrating the Password Monitoring Service from Java
#20> In comparison with the previous Java service, the updated backend delivers a 40% increase in performance, along with improved scalability, security, and availability. As is always the case with such rewrites, the big question is whether the improvements came from the choice of language or because they updated a crusty legacy codebase and fixed bugs/bottlenecks.