apple/swift-system
View on GitHub ↗ ★ 1,435 Swift
Low-level system calls and types for Swift
4 mentions on Hacker News by 3 people: 0 stories, 4 comments · first 2020-09-25 · latest 2023-10-26
20082026
-
…that adds significant overhead to even simple programs. There was an effort to make a better API, https://github.com/apple/swift-system/ , but it seems to have stalled (or perhaps an improved cross-platform API was never its goal).
comment by Mathnerd314 · 2023-10-26 · in An aborted experiment with server Swift -
…the library functions rather than calling into the kernel directly. The source for that is here: https://github.com/apple/swift-system/blob/main/Sources/Syst... [0] Yes, I'm aware of the staffing issues. No need to beat that dead horse…
comment by usmannk · 2020-09-25 · in Swift System Is Now Open Source -
Yes, this is a wrapper. [0] https://github.com/apple/swift-system/blob/main/Sources/Syst... [1] https://github.com/apple/swift-system/blob/main/Sources/Syst... [2] https://github.com/apple/swift-system/blob/main/Sources/Syst...
comment by itiman · 2020-09-25 · in Swift System Is Now Open Source -
…a typed, safe wrapper around a subset of Darwin or Glibc (depending on platform) functions. See: https://github.com/apple/swift-system/blob/main/Sources/Syst...
comment by usmannk · 2020-09-25 · in Swift System Is Now Open Source