Skip to content

Latest commit

ย 

History

History
25 lines (19 loc) ยท 872 Bytes

WhatsNewInSwift.md

File metadata and controls

25 lines (19 loc) ยท 872 Bytes

@ WWDC19

Performance

  • ABI Stability, Module Stability

    • ABI: Application Binary Interface
    • ABI stability ์ด์ „์—๋Š” executable๊ณผ framework๊ฐ€ ๋™์ผํ•œ ์ปดํŒŒ์ผ๋Ÿฌ์—์„œ ๋นŒ๋“œ๋˜์–ด์•ผ ํ–ˆ์ง€๋งŒ Swift 5 or later ๋ฒ„์ „ ์ปดํŒŒ์ผ๋Ÿฌ๋ฅผ ์ด์šฉํ•˜๋ฉด ๋‹ค๋ฅธ ์ปดํŒŒ์ผ๋Ÿฌ์—์„œ ๋นŒ๋“œ๊ฐ€ ๊ฐ€๋Šฅํ•˜๋‹ค.
    • Swift 5.1์—์„œ module interface ํŒŒ์ผ ๋„์ž…
    • Module + ABI stability = Binary frameworks
  • Apps and the Shared Swift Runtime in the OS

    • Swift 5 or later, Apps use the runtime from OS when it is available
  • SourceKit

Language and Standard Library

  • Implicit return from single expressions
  • Synthesized default values for the memberwise initializer
  • SIMD vectors API
  • New design for String interpolation
  • Opaque result types
  • Property Wrapper types
  • DSLs