Viewing profile — airspeedswift
airspeedswift
HN member- Joined
- Fri, Jun 06, 2014, 8:42 PM UTC
- HN karma
- 56
- Public activity
- 12 items
- HN profile
- View on Hacker News ↗
About airspeedswift
Recent public activity
-
comment
Comment #48510720
You can choose to use either refcounting or unique ownership for your types. For most use cases, refcounted (+ copy-on-write) is the best choice and is the default, but the truetyp…
-
comment
Comment #48509676
I assure you, every inch of the interpreter code has been stared at by humans, a lot. TBH even the assembly generated by it has.
-
comment
Comment #45840590
Python and LIT are used heavily to build and test the compiler, but that is only for building it, you do not need it to download and use the built toolchain. The python dependency …
-
comment
Comment #45840523
The Swift toolchain includes LLDB, which relies on python for some debugging features. The compiler and runtime itself do not use python.
-
comment
Comment #45700870
> e.g kotlin exceptions cant be caught from swift FWIW the approach that swift-java takes in managing interop with Java (and potentially Kotlin) function calls means it is perfectl…
-
comment
Comment #44176588
> The big performance hit in Swift would come in method dispatch where it’s following Objective C strategies which would result in indirect calls for object methods. While Swift ca…
-
comment
Comment #44174408
Swift, Rust, and C++ all share the same underlying techniques for implementing zero-cost abstrations (primarily, fully-specialized generics). The distinction in Swift's case is tha…
-
comment
Comment #41572695
You can read about the trade-offs in the language proposal here: https://github.com/swiftlang/swift-evolution/blob/main/propo... In particular: > Even with the introduction of type…
- comment
-
comment
Comment #40642017
you might find https://www.swift.org/documentation/articles/zero-to-swift-n... useful
-
comment
Comment #40037225
Been there since 2.0. You can combine it with pattern matching to do some fun stuff: https://gist.github.com/airspeedswift/6e0c037ad5dd1b763d353f...
- story