4 ms·
The benefit is that Swift is a fantastic language that people want to use outside of macOS and iOS development. Remember that languages and frameworks aren’t th
by zapzupnz 8y ago
The benefit is that Swift is a fantastic language that people want to use outside of macOS and iOS development. Remember that languages and frameworks aren’t the same thing.
You can still use Swift to plug into other GUI frameworks and libraries to make apps on other platforms, and there are a few Swift frameworks for writing web applications such as Vapor and IBM Kitura.
Swift on Linux lacks the Objective-C runtime and therefore the Objective-C-based Foundation and Cocoa frameworks. In their place, the Swift project has been creating a pure Swift replacement.
Linux is also an easy target for cross-platform development in Swift, given that it’s a POSIX OS and a first—class host for LLVM. It’s a great testbed for the pure Swift and cross-platform developmen and tooling before it eventually moves to Windows as a first-class Swift platform.
- saagarjha 8y ago> Swift on Linux lacks the Objective-C runtime and therefore the Objective-C-based Foundation and Cocoa frameworks. In their place, the Swift project has been creating a pure Swift replacement. Clarification: Foundation is being reimplemented in Swift. Cocoa will continue to be written in Objective-C and be macOS-only.
- zapzupnz 8y agoYes, I should have said “in their place for non-Apple platforms”.
- mistrial9 8y ago> IBM Kitura watching the intro on this video [0] ; IBM Kitura is positioning against Node.js, with clients like MercedesBenz and IBM corp consulting solutions. An iOS app is mentioned first as an example client. [0] https://www.youtube.com/watch?v=tBogAmEzJCk https://www.youtube.com/watch?v=tBogAmEzJCk > the Swift project has been creating a pure Swift replacement so the Swift project is funded and staffed to grow the reference library (apparently) > before it eventually moves to Windows as a first-class Swift platform Windows (of some kind) will be a first-class Swift platform, guessing the GUI part too.. Informative, now for the quick review of negatives > Linux is also an easy target something about that does not sound right > Swift is a fantastic language that people want to use typical marketing BS talk, content-less yet manipulative > Remember that languages and frameworks aren’t the same thing remember that people can tell when you substitute information with content-less yet manipulative replies
- saagarjha 8y agoI found your comment to be flippant and condescending in way that doesn’t drive this conversation forward, especially since you don’t back up your argument. Perhaps you could fix these?
- zapzupnz 8y agoI’m sure it’s just anti-Apple trolling and flame bait. Possibly also fueled by HN being fascinated with JavaScript and Rust right now such that nothing else is worthy of praise. At any rate, it’s easier to be bitter about nothing than constructive about something.