Re:Swift Static Linux SDK
by square_usual on Tuesday June 11, 2024 @05:27PM
(#40651720)
Compiling fast has ripple effects throughout your workflow. Having your iteration time go from 1s to 5s is a massive difference: it can mean you break out of the flow state when you restart your server to test your code.
As someone dealing with Swift everyday (and, before that, faster langs like Elixir and Typescript), I can only agree. Sometimes my incremental builds take 20-30 seconds and it feels like a huge toll. Waiting on the CI (which is a weak machine) is up to 25 minutes until the test suite has passed - a large chunk of that being compilation time. Releases take 5-10 minutes.
I really like Swift, but I’d highly appreciate faster compilation times.
Re:Swift Static Linux SDK
by plorkyeran on Tuesday June 11, 2024 @07:36PM
(#40652909)
Swift compilation is slower than C++.
C++ with heavy template use or C++ as glorified C-with-classes?
Re:Swift Static Linux SDK
by plorkyeran on Tuesday June 11, 2024 @10:12PM
(#40653797)
C++ with heavy template use.
Re:Swift Static Linux SDK
by iainmerrick on Tuesday June 11, 2024 @07:03PM
(#40652670)
Once you use a language where compile times are essentially invisible, it’s hard to go back.
Go hyped their compilation speed a lot in its early years, but unless it's C++ templates level slugginess it's not like it's that big of deal.