Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Windows already has F# and compilation to native code via NGEN, MDIL and .NET Native.

Swift won't bring much anyway.



I disagree. Swift and its accompanying libraries are designed for automatic reference counting rather than tracing garbage collection. I think that's a big deal for mobile apps (see Drew Crawford's take on GC in mobile apps, http://sealedabstract.com/rants/why-mobile-web-apps-are-slow...). In that light, Swift projections for WinRT would be great.


I know that post pretty well.

Swift only has reference counting because it made sense as the language shares the Objective-C runtime.

Objective-C only got ARC because Apple never managed to make their GC work properly without crashes in the context of Objective-C code, given its C underpinnings.

CS literature is full of examples on how to achieve performance comparable with GC with reference counting, the solution ends up being a mini-GC anyway. And reference counting cannot compete with GC implementations in lock free algorithms, even with deferred counting.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: