Hacker GitHub

← All repos

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

Mentions per year 269 mentions · busiest year 2016 (41)
20082026
  1. 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
  2. …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
  3. …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…
  4. 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
  5. ▲ 1
    Swift Compiler Performance
    story by gok · 2017-11-18 · 0 comments
  6. https://github.com/apple/swift
    comment by lukeholder · 2017-11-07 · in Apple at Its Best
  7. 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++
  8. ▲ 2
    Debugging the Swift Compiler
    story by ingve · 2017-10-18 · 0 comments
  9. ▲ 1
    Swift array design
    story by g09980 · 2017-10-12 · 0 comments
  10. https://github.com/apple/swift/blob/master/docs/Android.md This is a good start, at least for Android hardware..
  11. …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
  12. 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…
  13. You can use Swift on Windows: https://github.com/apple/swift/blob/master/docs/Windows.md
  14. ▲ 3
    Swift: Standard Library Programmer's Manual
    story by mpweiher · 2017-09-27 · 0 comments
  15. …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
  16. …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
  17. …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
  18. 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
  19. 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
  20. ▲ 86
    Getting Started with Swift on Windows
    story by hellofunk · 2017-09-12 · 17 comments
  21. …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
  22. And the supporting swift Pull Request is https://github.com/apple/swift/pull/11501
  23. They are trying to address that https://github.com/apple/swift/blob/master/docs/OwnershipMan...
  24. …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...
  25. …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...
  26. …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
  27. …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
  28. …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
  29. 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
  30. 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
  31. 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
  32. …(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
  33. 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
  34. 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
  35. …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…
  36. Official compiler? What's wrong with https://github.com/apple/swift
  37. …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
  38. …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
  39. ▲ 3
    Swift 4 String Manifesto
    story by Aqua_Geek · 2017-01-20 · 0 comments
  40. …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]
  41. …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
  42. 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
  43. ▲ 4
    Ask HN: C++ 14 open source projects for more advanced learning
    story by tomabe · 2017-01-05 · 2 comments
  44. …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
  45. 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
  46. 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
  47. …[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
  48. Do you mean https://github.com/apple/swift ?
  49. …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
  50. https://github.com/apple/swift