Swift Secrets: Unlocking the Power of 'Any' and 'Some' - Yuki Aki | Swift Heroes 2023 Talk

Поделиться
HTML-код
  • Опубликовано: 1 авг 2024
  • 🎟️ 2024 ticket SPECIAL PRICE: swiftheroes.com/2024/
    In this insightful video, Yuki Aki, a distinguished iOS Engineer from LINE, takes you on a deep dive into the "any" and "some" keywords introduced in Swift 5.7 and their critical roles in modern Swift programming. As Swift continues to evolve, understanding these keywords becomes essential for creating efficient and performant Swift APIs. Through a detailed exploration of the Swift Compiler, including the special mechanisms of "Existential Container" and "Existential Type," this presentation unveils the secrets behind the performance and runtime behavior of these keywords. Whether you're aiming to refine your Swifty API design or curious about the deep workings of the Swift Compiler, this video is your gateway to mastering "any" and "some" in Swift. Dive in to discover how these keywords can revolutionize your Swift code and lead to module optimization, ultimately enhancing your development process.
    🎤 Yuki Aki, iOS Engineer, LINE
    📍Swift Heroes 2023 was hosted in Turin, 4-5 May. Attended by 320 iOS developer participants and broadcast to an additional 320 Swift enthusiasts across the globe. The agenda covered a range of important iOS developer topics including SwiftUI, the composable architecture, accessibility, developer tools, testing and much more.
    📌 For more engaging content and expert insights, subscribe to our channel and hit the notification bell. 🛎️
    Inform: swiftheroes.com/
    ✅ Tweet: / swiftheroes_it
    ✅ Connect: / swift-heroes
    ✅ Read: telegram.me/swiftheroes
    ⏩ Chapter:
    00:00 Intro & Agenda
    01:36 “any” and “some” revolution
    03:05 Existential Type’s
    06:41 How Generics working?
    07:55 Protocol abstraction
    11:45 “any” Mechanism with Existential Container
    13:50 Object in Existential Container (struct)
    16:35 Method Dispatch of Existential Container
    19:01 Metadata
    20:05 How Existential Containers actually works?
    26:00 Specialisation of function argument with Generics
    27:27 Limitation of argument Specialization
    29:15 Summary: Optimization
    #SwiftHeroes #SwiftProgramming #AnyAndSome #SwiftEvolution #iOSDevelopment #SwiftCompiler #APIDesign #SwiftTips #CodeOptimization #SwiftDeepDive #iOSProgramming
  • НаукаНаука

Комментарии • 15

  • @ek-bhartiya-nagrik
    @ek-bhartiya-nagrik 4 месяца назад +1

    Thank you for putting all the efforts to make this available on RUclips.

    • @SwiftHeroes
      @SwiftHeroes  4 месяца назад

      our first objective is to bring valuable knowledge to the developers who participate in our events, the second is to be able to communicate it to the entire community that follows us on social channels after the event 💎

  • @DD-ds7ui
    @DD-ds7ui 4 месяца назад +1

    thanks!

  • @marcnunes6916
    @marcnunes6916 4 месяца назад

    I struggle to understand most Swift Heroes videos. Mostly watching the videos and not understanding words.

    • @SwiftHeroes
      @SwiftHeroes  4 месяца назад +1

      Hi marc, could the subtitles help you? 🔎

  • @nekkumies
    @nekkumies 4 месяца назад +1

    Sounds like a very interesting topic, but had to stop watching after 10s because of the excessive editing. Very hard to watch when there are all the natural pauses removed from the video.

    • @SwiftHeroes
      @SwiftHeroes  4 месяца назад +1

      Sorry about that, the initial hook is like that, but the rest of the video is very fluent

    • @paulo.mendes
      @paulo.mendes 4 месяца назад +1

      starts at 0:55

  • @danielpetrascanu3166
    @danielpetrascanu3166 4 месяца назад

    In the future editions, please bring speakers that can speak a better english.

    • @akiyuki3783
      @akiyuki3783 4 месяца назад +8

      I'm speaker of this session. Thank you for commenting! I knew my English is not good so I made my Keynote session more easily to understrand without my speaking. I also uploaded it to SpeakerDeck so please see it if you are still interestedn in my topic. All feedback are welcome!
      Yuki

    • @twostraws
      @twostraws 4 месяца назад +12

      One of the wonderful things about our community is that we can benefit from the knowledge and perspectives of folks from such a wide variety of backgrounds, including Yuki. English is not his first language, but he's gone out of his way to prepare this fantastic talk and deliver it live on stage. He's also shared his deck so you can review the slides at your own pace, and provided links to various WWDC talks with further details. This takes an extraordinary amount of work, and also an extraordinary amount of bravery to do it all in English, so I'm grateful to Yuki for that work, and I appreciate all the time and effort he put in to share his knowledge with the rest of us 🙌

    • @SwiftHeroes
      @SwiftHeroes  4 месяца назад +2

      @@twostraws Totally agree, thanks for your opinion🙏🏻

    • @SwiftHeroes
      @SwiftHeroes  4 месяца назад +2

      @@akiyuki3783 Thank you Yuki, you did your best to bring us this talk and try to impart a lot of knowledge to us, this is what we need. People who do their utmost to share their experience with the community 💯✨

    • @chesterman18g
      @chesterman18g 3 месяца назад +1

      @@akiyuki3783 Thank you for an amazing talk! I think that this topic is not covered by many, because it's hard to understand it really good. Great work! thanks again :)