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

I am a bit ignorant on the topic, but is swift available for Windows/Ubuntu? Most of the deep learning scientists I know and work with use either of the two setups. I know there technically exists CUDA GPU support for Apple, but I have frankly never even attempted to mess with it.



Ubuntu is "supported". The compiler might be available, but there are hardly many libraries available that would compile outside Apple platforms.


That's no longer true. The Foundation framework is basically complete on Linux, and the vast majority 3rd party libraries which are not iOS specific will work on Ubuntu. Even many of Apple's own libraries (i.e. SwiftNIO, a low-level, high performance networking library for things like implementing web-servers) are cross-platform.


Last time I checked, the "the vast majority 3rd party libraries which are not iOS specific" was actually quite tiny.


You'd be surprised. There are a few reasonably well developed server-side frameworks, some of which are already used in production various places.

Also a lot of the libraries which are mostly used in iOS don't have any dependancies on the iOS platform: for instance promise or event emitter implementations etc.

IBM is actually supporting a number of open-source swift projects as well: https://github.com/IBM-Swift.

Between that and painless interop with C/C++, Swift does not feel under-supported on Linux in the least.




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

Search: