News for hackers. Stuff that matters.
Re:Swift Static Linux SDK by josephg on Tuesday June 11, 2024 @05:24PM (#40651682)
Assuming my experience with Swift 5 is still accurate, compilation speed is at least an order of magnitude slower than Go.

It’s a much more powerful language. In my opinion slower compilation is worth it for all of its great features. (Does Go even have parametric enums?). But its definitely a trade off.

Re:Swift Static Linux SDK by MBCook on Tuesday June 11, 2024 @06:57PM (#40652628)
That’s the one big loss from moving off Objective-C. Because the language was so stupidly simple to parse and didn’t have a lot of “we’ll figure that out for you from what you wrote” it could be compiled incredibly quick on today’s machines.

I know they’re working on improving it. I’m glad they are. But that speed is something I definitely miss.

Re:Swift Static Linux SDK by christophilus on Wednesday June 12, 2024 @06:38PM (#40663968)
Ocaml makes me wonder if we really do need the trade off. It’s a fairly advanced language, and compiles super fast. I wonder why it’s such an outlier among advanced languages?