swiftlang/swift
View on GitHub ↗ ★ 70,522 Swift
The Swift Programming Language
269 mentions on Hacker News by 203 people: 58 stories, 211 comments · first 2015-12-03 · latest 2026-03-26
20082026
-
The hasher in the standard library is defined here: https://github.com/apple/swift/blob/master/stdlib/public/cor... with some explanation for where the seed comes from here: https://github.com/apple/swift/blob/master/stdlib/public/cor...…
comment by rokob · 2018-06-08 · in WWDC 2018 What's New in Swift Recap -
…it natively using Visual Studio cl(or clang-cl). Following the instructions here, it worked for me. https://github.com/apple/swift/blob/master/docs/WindowsBuild...
comment by oscargrouch · 2018-04-27 · in Swift for TensorFlow Design Overview -
…of the next Swift versions (my bet is on Swift 6) will include an optional memory ownership model: https://github.com/apple/swift/blob/master/docs/OwnershipMan... It will not have lifetimes but still allow to opt out of ARC for performance…
comment by terhechte · 2018-03-01 · in Apple/swift-nio: Event-driven network framework for high perf. protocol servers -
Not sure why it was reverse engineered when the source code is publicly available: https://github.com/apple/swift/blob/4ddac3fbbd5b9ba8d980fa88...
comment by jordansmithnz · 2017-12-15 · in Type Erasure in Swift -
▲ 1
Swift Compiler Performancestory by gok · 2017-11-18 · 0 comments
-
https://github.com/apple/swift
comment by lukeholder · 2017-11-07 · in Apple at Its Best -
The Swift compiler uses this trick: https://github.com/apple/swift/blob/master/include/swift/Bas...
comment by slavapestov · 2017-10-22 · in Implementing Go's defer keyword in C++ -
▲ 2
Debugging the Swift Compilerstory by ingve · 2017-10-18 · 0 comments
-
▲ 1
Swift array designstory by g09980 · 2017-10-12 · 0 comments
-
https://github.com/apple/swift/blob/master/docs/Android.md This is a good start, at least for Android hardware..
comment by augbot · 2017-10-05 · in Dictionary and Set Improvements in Swift 4.0 -
…hardware, as well. A bit tangential to your original point, but I think it's interesting. [0] https://github.com/apple/swift/commit/83901998c91f9242a133aa... [1] https://github.com/apple/swift/commit/aee81d272f3147c0a9b610...
comment by favorited · 2017-10-05 · in Dictionary and Set Improvements in Swift 4.0 -
https://github.com/apple/swift/blob/master/README.md : ”macOS, Ubuntu Linux LTS, and the latest Ubuntu Linux release are the current supported host development operating systems” Also, on the page you reference: ”Note that all compiled…
comment by Someone · 2017-10-04 · in Dictionary and Set Improvements in Swift 4.0 -
You can use Swift on Windows: https://github.com/apple/swift/blob/master/docs/Windows.md
comment by nerdface · 2017-10-04 · in Dictionary and Set Improvements in Swift 4.0 -
▲ 3
Swift: Standard Library Programmer's Manualstory by mpweiher · 2017-09-27 · 0 comments
-
…critical with move-only (or "unique ownership", per the ownership manifesto[1]) types. [1]: https://github.com/apple/swift/blob/master/docs/OwnershipMan...
comment by dbaupp · 2017-09-21 · in Swift 4.0 Released -
…is how 'shared values' are being implemented in Swift in a less strict way compared to Rust. [1] https://github.com/apple/swift/blob/master/docs/OwnershipMan...
comment by cbcoutinho · 2017-09-20 · in Swift 4.0 Released -
…outside contributions for their OS/kernel code, which is why they're just code dumps. [0] https://github.com/apple/swift
comment by Osmium · 2017-09-14 · in MacOS 10.12.6 Source -
Apple's Swift programming language is on GitHub -- the full history AFAIK. https://github.com/apple/swift
comment by turdnagel · 2017-09-14 · in MacOS 10.12.6 Source -
Apple is a big fan of GitHub, you can see evidence of that with the Swift project ( https://github.com/apple/swift ), but not everything is suitable for that sort of treatment. It could be workflow related. The OS team has been around for…
comment by astrodust · 2017-09-14 · in MacOS 10.12.6 Source -
▲ 86
Getting Started with Swift on Windowsstory by hellofunk · 2017-09-12 · 17 comments
-
…is awesome but lacks atomicity guarantees and it allows some race conditions even when using gcd. https://github.com/apple/swift/blob/master/docs/proposals/Co...
comment by AJRF · 2017-08-18 · in Reasonable Scala Compiler -
And the supporting swift Pull Request is https://github.com/apple/swift/pull/11501
comment by spearo77 · 2017-08-17 · in Concurrency in Swift: One possible approach -
They are trying to address that https://github.com/apple/swift/blob/master/docs/OwnershipMan...
comment by bushin · 2017-06-30 · in Chris Lattner on the Realm WWDC 2017 Swift Panel -
…an Apple style guide, but the first file on the most recent commit to Swift uses spaces as well. https://github.com/apple/swift/blob/e0f75bf841631a50f9ab6502...
comment by pflats · 2017-06-20 · in Tabs, spaces and your salary – how is it really? -
…months earlier could have taken its early inspiration from a language that didn't exist yet. [1] https://github.com/apple/swift/commit/18844bc65229786b96b89a... [2] https://github.com/JetBrains/kotlin/commit/3e4dce385331c91c9...
comment by alblue · 2017-05-22 · in Google scored points with its community by supporting Kotlin -
…tbf. As chance might have it, the Swift documentation has a section on programming for Android: https://github.com/apple/swift/blob/master/docs/Android.md And RoboVM has an article on using Kotlin for iOS development:…
comment by Cthulhu_ · 2017-05-18 · in Swift is like Kotlin -
…use do their projects, then you are typically working more in only 1-2 languages at a time. [0] https://github.com/apple/swift [1] https://github.com/Microsoft/CNTK [2] https://github.com/bitcoin/bitcoin [3] https://github.com/xbmc/xbmc
comment by programbreeding · 2017-04-23 · in Python, as Reviewed by a C++ Programmer -
…a dedicated register. Just like stack-unwinding exceptions, Swift errors are part of the core ABI. https://github.com/apple/swift/blob/master/docs/ABIStability...
comment by ridiculous_fish · 2017-04-21 · in I was wrong, reflecting on the .NET design choices -
There is a tag for the release, called swift-3.1-RELEASE: https://github.com/apple/swift/tree/swift-3.1-RELEASE It's not showing up on GitHub's UI nor search for me at present, which may be why it seems like it's missing. You can download…
comment by alblue · 2017-03-28 · in Swift 3.1 Released -
Upon further inspection they disabled pre compiled bridging by default before release https://github.com/apple/swift/commit/5b9166ba8098a23e0601aa... After turning it on compilation speed seemed to improve immensely
comment by adomanico · 2017-03-28 · in Swift 3.1 Released -
It looks like it was actually disabled before release https://github.com/apple/swift/commit/5b9166ba8098a23e0601aa...
comment by adomanico · 2017-03-28 · in Swift 3.1 Released -
…(if a pain). Maybe they shouldn't have said "silence is acceptance" in their email, though. [1] https://github.com/apple/swift/pull/17 [2] https://github.com/thrimbor/sbep/issues/1
comment by wwwigham · 2017-03-24 · in GCC licence change -
And they are changing a bunch of it for Swift 4: https://github.com/apple/swift/blob/master/docs/StringManife...
comment by smackfu · 2017-03-11 · in Emoji.length == 2 -
The Swift Open Source community is quite vibrant. They're already building it on Linux + macOS. See: https://github.com/apple/swift Edit: They also have a Platform Support page, where they discuss their goals/intentions on cross-platform:…
comment by Shank · 2017-03-09 · in Pushing Swift to the Server -
…into the doc looking for one specific thing. I found it, but it turns out to be a put unfortunate. https://github.com/apple/swift/blob/master/docs/OwnershipMan... > Swift is permitted to destroy a value (and thus call deinit) at any time…
comment by jsolson · 2017-02-18 · in Manifesto: Adding memory ownership to Swift -
Official compiler? What's wrong with https://github.com/apple/swift
comment by adamnemecek · 2017-01-27 · in Ask HN: What new development technology in the last 3 years is worth learning? -
…comment on the commit that adds this to the swift source states that "It relies on ObjC interop". https://github.com/apple/swift/commit/013aad13d4245a012cfb76... So maybe not the runtime, per se, but haven't looked into what it's actually…
comment by kinofcain · 2017-01-27 · in How to build Apache modules in Swift -
…in anger, but that will compile in Swift 3. [0] https://news.ycombinator.com/item?id=11650628 [1] https://github.com/apple/swift/commit/013aad13d4245a012cfb76... [2] https://swiftlang.ng.bluemix.net/#/repl/d68be430e72609717f71...
comment by kinofcain · 2017-01-26 · in How to build Apache modules in Swift -
▲ 3
Swift 4 String Manifestostory by Aqua_Geek · 2017-01-20 · 0 comments
-
…features could enable library implementations of coroutines+channels, async/await, or actors: https://github.com/apple/swift/blob/master/docs/proposals/Co...
comment by favorited · 2017-01-19 · in Interview with Chris Lattner [audio] -
…is the Jenkins bots page: https://ci.swift.org/view/Pull%20Request/ - example of PR test reporting: https://github.com/apple/swift/pull/6802
comment by Joky · 2017-01-14 · in Testing LLVM -
Ted Kremenek doesn't seem to be a very active contributor of Swift. https://github.com/tkremenek https://github.com/apple/swift/graphs/contributors
comment by dorianm · 2017-01-10 · in Update on the Swift Project Lead -
▲ 4
Ask HN: C++ 14 open source projects for more advanced learningstory by tomabe · 2017-01-05 · 2 comments
-
…uses both witness and virtual tables, something I'm realizing I didn't make very clear in the post. https://github.com/apple/swift/blob/master/docs/SIL.rst#vtab... has some more interesting information.
comment by KingOfBrian · 2016-12-07 · in Method dispatch in Swift -
Swift is FLOSS, Apache Licensed and built and collaborated on GitHub: https://github.com/apple/swift Objective C has not had an official open source release, so far as I know. ETA: Arguing of course how close the gcc/clang implementations…
comment by WorldMaker · 2016-11-16 · in Visual Studio for Mac Preview -
SoureKit, which seems to drive a lot of the Xcode Swift features, is open source: https://github.com/apple/swift/tree/master/tools/SourceKit
comment by skyebook · 2016-10-25 · in Server APIs Project -
…[2] https://github.com/Microsoft/vscode-languageserver-node [3] https://github.com/apple/swift/tree/master/tools/SourceKit
comment by favorited · 2016-10-19 · in Introducing Rust Language Server -
Do you mean https://github.com/apple/swift ?
comment by psuter · 2016-09-26 · in IBM says Swift is ready for the enterprise -
…also contains nearly 50 other source breaking swift-evolution proposals (full changelog here: https://github.com/apple/swift/blob/master/CHANGELOG.md ). But one of the things I like about how the language is begin developed is that…
comment by drtse4 · 2016-09-14 · in Swift 3.0 Released -
https://github.com/apple/swift
comment by DrJokepu · 2016-09-14 · in Swift Playgrounds – Learn to code on your iPad