Hacker News new | ask | show | jobs
by joshuawright11 842 days ago
Nifty stuff - though I wonder who these features are for? Since swift is primarily for iOS where you can basically run everything but network requests on the main thread, what’s the point of having these advanced, complex compiler checks for thread safety?

Would love to see more Swift adoption outside Apple ecosystem because it’s truly the best language I’ve worked with; but the busted state of tooling and environment (Xcode, janky at best VSCode support) will need to be improved before it can ever escape iOS/macOS only orbit.

1 comments

No, you shouldn't run most things on the main thread. Don't access files, and don't do lengthy calculations.