์ ์ฒด ๊ธ
-
[SE-0528] Continuation — Safe and Performant Async ContinuationsSwift 2026. 5. 30. 11:19
์๋ ํ์ธ์. ๊ทธ๋ฆฐ์ ๋๋ค ๐์ด๋ฒ ํฌ์คํ ์์๋ SE-0528 — ์์ ํ๊ณ ์ฑ๋ฅ ์ข์ Async Continuation, Continuation ํ์ ๋์ ์ ๋ํด ์ ๋ฆฌํด๋ณด๊ฒ ์ต๋๋ค ๐๐ปIntroProposal: SE-0528Authors: Fabian Fett, Konrad MalawskiReview Manager: Joe GroffStatus: Accepted with revisionsMotivationContinuation์ ์ฝ๋ฐฑ ๊ธฐ๋ฐ API๋ฅผ Swift Structured Concurrency๋ก ์ฐ๊ฒฐํ๋ ํต์ฌ ๋ฉ์ปค๋์ฆ์ ๋๋ค. ๊ทธ๋ฐ๋ฐ ํ์ฌ ๊ฐ๋ฐ์๋ ๋ ๊ฐ์ง ์ต์ ์ค ํ๋๋ฅผ ๊ณจ๋ผ์ผ ํ๋ ๋ถํธํ ์ ํ์ ๊ฐ์๋ฐ๊ณ ์์ด์.UnsafeContinuation — ์ค๋ฒํค๋๋ ์์ง๋ง, ๋ ๋ฒ resumeํ๋ฉด unde..
-
[SE-0522] Source-Level Control Over Compiler WarningsSwift 2026. 5. 23. 08:45
์๋ ํ์ธ์. ๊ทธ๋ฆฐ์ ๋๋ค ๐์ด๋ฒ ํฌ์คํ ์์๋ SE-0522 — ์์ค ๋ ๋ฒจ์์์ ์ปดํ์ผ๋ฌ ๊ฒฝ๊ณ ์ ์ด์ ๋ํด ์ ๋ฆฌํด๋ณด๊ฒ ์ต๋๋ค ๐๐ปIntroProposal: SE-0522Authors: Artem Chikin, Doug Gregor, Holly BorlaReview Manager: Tony AllevatoStatus: AcceptedMotivationSE-0443์์๋ ์ปค๋งจ๋๋ผ์ธ ํ๋๊ทธ๋ก ์ปดํ์ผ๋ฌ ๊ฒฝ๊ณ ๋ฅผ ์ ์ดํ ์ ์๊ฒ ๋์์ต๋๋ค. ์๋ฅผ ๋ค์ด -Werror DeprecatedDeclaration์ ์ฌ์ฉํ๋ฉด Deprecated ๊ฒฝ๊ณ ๋ฅผ ์๋ฌ๋ก ๊ฒฉ์์ํฌ ์ ์์ฃ .ํ์ง๋ง ์ด ๋ฐฉ์์ ๋ชจ๋ ์ ์ฒด์ ์ ์ฉ๋๋ ๋ธ๋ฐํธํ ์๋จ์ด์์. ํน์ ์ ์ธ์์๋ง ์์ธ๋ฅผ ๋๊ณ ์ถ์ ๊ฒฝ์ฐ์๋ ๋์ํ ๋ฐฉ๋ฒ์ด ์์์ต๋๋ค.// ๋ชจ๋ ์ ์ฒด์ -W..
-
[SE-0523] Hashable conformance for UnownedTaskExecutorSwift 2026. 5. 15. 03:53
์๋ ํ์ธ์. ๊ทธ๋ฆฐ์ ๋๋ค ๐์ด๋ฒ ํฌ์คํ ์์๋ SE-0523 — UnownedTaskExecutor์ Hashable ์ฑํ์ ๋ํด ์ ๋ฆฌํด๋ณด๊ฒ ์ต๋๋ค ๐๐ปIntroProposal: SE-0523Authors: Fabian Fett, Konrad MalawskiReview Manager: John McCallStatus: Implemented (Swift 6.4)MotivationSE-0417์์ ๋์ ๋ task executor preferences๋ ํ์ฌ ์คํ ์ค์ธ task์ unownedTaskExecutor๋ฅผ ๋ ธ์ถํด, ์ฑ๋ฅ์ ๋ฏผ๊ฐํ ์ฝ๋๊ฐ executor ๊ธฐ๋ฐ์ผ๋ก ์ค์ผ์ค๋ง ๊ฒฐ์ ์ ๋ด๋ฆด ์ ์๊ฒ ํด์ค๋๋ค.UnownedTaskExecutor๋ ์ด๋ฏธ Equatable์ ์ฑํํ๊ณ ์์ด์. ๊ทธ๋ฐ๋ฐ Hashabl..
-
[SE-0524] Add withTemporaryAllocation using Output(Raw)SpanSwift 2026. 5. 9. 13:50
์๋ ํ์ธ์. ๊ทธ๋ฆฐ์ ๋๋ค ๐์ด๋ฒ ํฌ์คํ ์์๋ SE-0524 — OutputSpan์ ํ์ฉํ withTemporaryAllocation ์ถ๊ฐ์ ๋ํด ์ ๋ฆฌํด๋ณด๊ฒ ์ต๋๋ค ๐๐ปIntroProposal: SE-0524Author: Max DesiatovReview Manager: Doug GregorStatus: Implemented (Swift 6.4)MotivationSE-0322์ SE-0437์์ ๋์ ๋ withUnsafeTemporaryAllocation์ ์คํ์ ์์ ๋ฉ๋ชจ๋ฆฌ๋ฅผ ํ ๋นํ ์ ์๋ ์ ์ฉํ API์ ๋๋ค.ํ์ง๋ง ์ด ํจ์๋ UnsafeMutableBufferPointer ๋๋ UnsafeMutableRawBufferPointer๋ฅผ yieldํ๊ธฐ ๋๋ฌธ์, ์ด๊ธฐํ์ ํด์ ๋ฅผ ๊ฐ๋ฐ์๊ฐ ์ง์ ๊ด๋ฆฌํด์ผ ํ..
-
[SE-0521] Improved Syntax for Optionals of Opaque and Existential TypesSwift 2026. 5. 1. 06:51
์๋ ํ์ธ์. ๊ทธ๋ฆฐ์ ๋๋ค ๐์ด๋ฒ ํฌ์คํ ์์๋ SE-0521 — Opaque ๋ฐ Existential ํ์ ์ Optional ๋ฌธ๋ฒ ๊ฐ์ ์ ๋ํด ์ ๋ฆฌํด๋ณด๊ฒ ์ต๋๋ค ๐๐ปIntroProposal: SE-0521Author: Tony AllevatoReview Manager: Frederick Kellison-LinnStatus: Accepted with modificationsMotivationSwift์์ some P์ any P๋ ์ด๋ฏธ ์ต์ํ ๋ฌธ๋ฒ์ด์ฃ .๊ฐ๋ฐ์๋ค์ ์์ฐ์ค๋ฝ๊ฒ Int?, String?์ฒ๋ผ some P? ๋๋ any P?๋ผ๊ณ ์ฐ๊ณ ์ถ์ด ํฉ๋๋ค. ๊ทธ๋ฐ๋ฐ ํ์ฌ ์ด ์ฝ๋๋ ์ปดํ์ผ ์๋ฌ๊ฐ ๋ฐ์ํฉ๋๋ค ๐func fetchUser() -> some Identifiable? // โ errorvar ha..
-
[SE-0520] Discardable result use in Task initializersSwift 2026. 4. 25. 09:58
์๋ ํ์ธ์. ๊ทธ๋ฆฐ์ ๋๋ค ๐์ด๋ฒ ํฌ์คํ ์์๋ SE-0520 — Task ์ด๋์ ๋ผ์ด์ ์์์ Discardable result ์ฒ๋ฆฌ์ ๋ํด ์ ๋ฆฌํด๋ณด๊ฒ ์ต๋๋ค ๐๐ป IntroProposal: SE-0520Author: Konrad 'ktoso' MalawskiStatus: AcceptedMotivationํ์ฌ ์๋ ์ฝ๋๋ ์๋ฌด๋ฐ ๊ฒฝ๊ณ ์์ด ์ปดํ์ผ๋ฉ๋๋ค.Task { // no warning try boom() }print("Yay!") ๊ฐ๋จํ ์์์์๋ ์๋ฌ๋ฅผ ๋์ณค๋ค๋ ๊ฒ ๋ช ํํ์ง๋ง, ์ค์ ์ฝ๋๋ฒ ์ด์ค์์๋ ๋ ธ์ด์ฆ๊ฐ ๋ง์์ ์๋ฌ๋ฅผ ์กฐ์ฉํ ๋ฌด์ํ๋ค๋ ์ฌ์ค์ ๋์น๊ธฐ ์ฝ๊ฑฐ๋ ์. ์ด ๋ฌธ์ ๋ Swift ์ปค๋ฎค๋ํฐ์์ ์ฌ๋ฌ ์ฐจ๋ก ์ ๊ธฐ๋์์ต๋๋ค.Task initializer with throwing closure swall..
-
[SE-0519] Borrow and Inout types for safe, first-class referencesSwift 2026. 4. 11. 09:55
์๋ ํ์ธ์. ๊ทธ๋ฆฐ์ ๋๋ค ๐์ด๋ฒ ํฌ์คํ ์์๋ ์์ ํ first-class ์ฐธ์กฐ๋ฅผ ์ํ Borrow์ Inout ํ์ ์ ๋ํด ์ ๋ฆฌํด๋ณด๊ฒ ์ต๋๋ค ๐๐ปIntroProposal: SE-0519Authors: Joe Groff, Alejandro AlonsoStatus: Active review (March 4...17, 2026)MotivationSwift๋ ํจ์ ํธ์ถ์ ์ผ๋ถ๋ก ๊ฐ์ ๋ํ ์์ ์ ๊ทผ์ ์ ๊ณตํ ์ ์์ต๋๋ค.inout ํ๋ผ๋ฏธํฐ: ํธ์ถ์๊ฐ ์์ ํ ๊ฐ์ ๋ํ ์์ ๋ ์ (exclusive) ์ ๊ทผ์ ๋ฐ์ต๋๋ค. ํธ์ถ๋ ์ชฝ์์ ํ๋ผ๋ฏธํฐ๋ฅผ ์์ ํ๊ฑฐ๋ ํ์ฌ ๊ฐ์ ์๋น(consume)ํ ์ ์๊ณ , ํธ์ถ์๋ ํจ์๊ฐ ๋ฐํ๋๋ฉด ์์ ๊ถ์ ๋ค์ ๊ฐ์ ธ์ต๋๋ค.borrowing ํ๋ผ๋ฏธํฐ: ํธ์ถ์๋ก๋ถํฐ ๊ฐ์ ๋ํ ์์ ๊ณต์ (sh..
-
[SE-0518] tide-SendableSwift 2026. 4. 5. 08:26
์๋ ํ์ธ์. ๊ทธ๋ฆฐ์ ๋๋ค ๐์ด๋ฒ ํฌ์คํ ์์๋ SE-0518 — ~Sendable๋ก non-Sendable ํ์ ์ ๋ช ์์ ์ผ๋ก ํํํ๊ธฐ์ ๋ํด ์ ๋ฆฌํด๋ณด๊ฒ ์ต๋๋ค ๐๐ปIntroProposal: SE-0518Status: Implemented (Swift 6.4)Experimental Feature Flag: TildeSendableMotivationpublic ํ์ ์ด Sendable์ ๋ช ์์ ์ผ๋ก conformํ์ง ์์ ๋, ๊ทธ ์๋๋ฅผ ํ์ ํ๊ธฐ๊ฐ ์ฝ์ง ์์ต๋๋ค.์์ง Sendable conformance๋ฅผ ์ถ๊ฐํ์ง ์์ ๊ฑด์ง, ์๋๋ฉด ์๋์ ์ผ๋ก non-Sendable๋ก ์ค๊ณํ ๊ฑด์ง๊ฐ ๋ถ๋ถ๋ช ํ๊ฑฐ๋ ์.์ด๋ฅผ ํ๋จํ๋ ค๋ฉด ํ์ ์ ์คํ ๋ฆฌ์ง ๊ตฌ์กฐ์ ๋๊ธฐํ ๋ฉ์ปค๋์ฆ ๊ฐ์ ๊ตฌํ ์ธ๋ถ์ฌํญ์ ์์์ผ ํ๋๋ฐ, ๋ผ์ด๋ธ๋ฌ๋ฆฌ ์ธ๋ถ์์๋ ..