Avatar
The System module is available as SystemPackage, which is a SwiftPM package, and it supports the major Swift platforms including macOS. Some projects, such as swiftly, use this package instead of u...
12:37 AM
FilePath型を使うのが大変すぎる問題に動きがあった Systemをツールチェーン同梱するらしい
12:38 AM
これにより常に import System と書けるようになるらしい
12:38 AM
swift-systemとSystemPackageへの陽の依存は消える
12:38 AM
Hello, I'd like to start a discussion of having the System module available in the Swift toolchain, rather than the current situation of it being available only on Darwin with SystemPackage available on other platforms. I wrote this up as a "pitch" or "proposal", but that's just the vehicle for the discussion as there's no formal pitch or propos...
12:39 AM
ピッチ
12:40 AM
[quote="Michael_Ilseman, post:1, topic:84247"] This proposal requests the inclusion of Swift System in official Swift toolchain releases for all supported platforms. Swift System provides idiomatic Swift interfaces to system calls and low-level currency types such as FilePath, serving as a foundational building block for the Swift ecosystem. [/quote]
12:40 AM
swift-systemをツールチェーン同梱にして、import Systemで使えるようにする、のかな Darwin.Systemと干渉しないのか?
12:42 AM
これによりFoundationもSystem.FilePathをサポートできるそう
12:42 AM
一番きれいな形になるな