4 ms·
What is the practical difference if it's open-source or not? It'll still be OSX-native code, and every OSX user has access to it for free anyway. Or would that
by superuser2 12y ago
What is the practical difference if it's open-source or not? It'll still be OSX-native code, and every OSX user has access to it for free anyway.
Or would that enable a Linux port?
- mikeash 12y agoIt would enable porting to other platforms, and it's also just useful to be able to look at how things implemented. I've benefitted a lot from being able to look at the Objective-C runtime source code, for example, because I can see how things work or where things go wrong.
- _random_ 12y agoIf Apple decides/realizes Swift was a bad idea, you will be out of luck with your codebase. Unlike open source where users can continue the work of the corporation.
- curtis17 12y ago> Or would that enable a Linux port? I would be interested in a Swift port for Linux server-side/command line dev. Not so much client UI dev. Swift on Linux servers could help Apple sell more Macbooks to developers.
- pjmlp 12y agoOCaml, F#, Haskell, Standard ML all with a longer history and (except SML) being used at the industry. Why bother with Swift in such use case...
- curtis17 12y agoSwift seems a pragmatic take on functional programming. Apple backing means the compiler, libs and runtime will get a lot of work.
- pjmlp 12y agoAnd Microsoft puts money on F#, Haskell and OCaml, all of which already have better Linux support. Swift is great for pushing functional programming down the throat to mainstream developers that wish to target iOS, but it is no more pragmatic than OCaml or F#. For the OP use case, targeting Linux server software is already better served by the languages I mentioned.
- hobarrera 12y agoBut a Linux-based swift compiler would mean some multi-platform devs wouldn't need OS X as much. Bad for Apple.