They're releasing the source code to libdispatch? I thought that was one of Apple's trade secrets, and more applicable than just Swift apps since it's a C lib?
Swift is Open Source
61–70 of 458 posts
Re: Swift is Open Source
#62This is good news (hoping the github link etc will start working in a day or two)! One side effect of swift being open sourced is that more developers will start looking at it for server side development. However, I personally think that Swift will continue to have strong reliance on Apple (esp considering that most external Swift developers will come from iOS development). So, till I see Apple showing interest in Sw…
esp considering that most external Swift developers will come from iOS development I am wondering about this. To me, it seems that there is still space for a modern, pragmatic language that compiles to native code. Coming from C and C++, I have been using Go recently for applications where garbage collection and some performance loss due to a relatively weak compiler is acceptable. However, I still find the lack of p…
Re: Swift is Open Source
#63Can this do GUI programming on Lin/Win? Or Are there usable gui libraries for doing cross platform development like QT?
Re: Swift is Open Source
#64Re: Swift is Open Source
#65Re: Swift is Open Source
#66This is good news (hoping the github link etc will start working in a day or two)! One side effect of swift being open sourced is that more developers will start looking at it for server side development. However, I personally think that Swift will continue to have strong reliance on Apple (esp considering that most external Swift developers will come from iOS development). So, till I see Apple showing interest in Sw…
esp considering that most external Swift developers will come from iOS development I am wondering about this. To me, it seems that there is still space for a modern, pragmatic language that compiles to native code. Coming from C and C++, I have been using Go recently for applications where garbage collection and some performance loss due to a relatively weak compiler is acceptable. However, I still find the lack of p…
Otherwise, it's a fairly decent language. It doesn't have Go's concurrency baked in to the language, but on OS X you can use Grand Central Dispatch (libdispatch) which is a very decent concurrency library and it works very well with Swift, I'm hoping it will be available in the Linux port of Swift as well.
Besides the more sophisticated type system, a major advantage (or disadvantage, depending on how you look at it) of Swift over Go is it's memory management mechanism: it uses Automatic Reference Counting, which makes garbage collection more deterministic and efficient, at the expense of a certain level of overhead in the developer's thought process (e.g. the developer has to be mindful of things such as reference cycles etc).
Re: Swift is Open Source
#67Welcome to Swift version 2.2-dev (LLVM 46be9ff861, Clang 4deb154edc, Swift 778f82939c). Type :help for assistance.
1> help
opening import file for module 'SwiftShims': No such file or directory 1>
I could not find any mention to environment variables that could be used to override default locations, like SWIFT_LIBRARY_PATH or something like it.Re: Swift is Open Source
#68Re: Swift is Open Source
#69Earlier quoted context omitted.
esp considering that most external Swift developers will come from iOS development I am wondering about this. To me, it seems that there is still space for a modern, pragmatic language that compiles to native code. Coming from C and C++, I have been using Go recently for applications where garbage collection and some performance loss due to a relatively weak compiler is acceptable. However, I still find the lack of p…
Have a look at dlang and nim-Lang. Both answer that
Since Swift is pushed by Apple, it probably won't suffer from the same ecosystem problems.
Re: Swift is Open Source
#70But I wonder if it will fare better than Objective-C outside Apple eco-systems without the tools and OS libraries...