News for hackers. Stuff that matters.
Re:Pwning the Ladybird Browser by no_wizard on Thursday May 01, 2025 @11:08AM (#43858698)
Swift or XCode?

I've experienced very fast Swift compilations, but when compiling an app - which will invoke additional tooling with XCode - is the slowest part.

In my experience anyway. I am genuinely curious!

Re:Pwning the Ladybird Browser by tough on Thursday May 01, 2025 @02:13PM (#43861333)
I agree with this, i've been avoiding xcode as much as possible for my little swift projects, but now I do wonder if that still stands for large codebases, I guess you could try and find some big codebases on swift on gh and see how much it takes to compile
Re:Pwning the Ladybird Browser by airstrike on Thursday May 01, 2025 @07:07PM (#43864370)
I've only used it within XCode so can't say which is to blame, but I did frequently get the message "The compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions" which seems to be a problem with the language/compiler/type system, not XCode per se