Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Swift Superpowers

Swift Superpowers

Back in 2014 when swift was announced, Chris Lattner already had its vision of interoperability for the language. That’s why he created LLVM in the first place. Starting up with iOS and Apple platforms, swift came all the way up to what we can do today. Let’s tackle those superpowers 💪🏼

David Bonnet

June 03, 2019
Tweet

More Decks by David Bonnet

Other Decks in Technology

Transcript

  1. server side swift write server-side code on top of Foundation

    supports many existing [data storage | cache] services lldb debugging support test using XCTest even on linux docker swift Apple official support !
  2. server side swift write server-side code on top of Foundation

    supports many existing [data storage | cache] services lldb debugging support test using XCTest even on linux docker swift Apple official support try! Swift Tokyo 2019 Swift Server Update by Tom Doron (Apple) !
  3. #

  4. # $

  5. # $

  6. # $ FrenchKit 2018 Writing swift code that scales by

    Florent Pillet (@fpillet) Models.framework
  7. swift-NIO Non-blocking I/O library cross-platform (currently macOS and linux) brings

    « futures / promises » with it https://github.com/apple/swift-nio
  8. swift-NIO Non-blocking I/O library cross-platform (currently macOS and linux) brings

    « futures / promises » with it includes implementation for udp, tcp and http embraced by Vapor and Kitura https://github.com/apple/swift-nio
  9. swift-NIO swift 5 support! http/2 implementation SSL implementation is now

    detached from the host https://github.com/apple/swift-nio 2
  10. swift-NIO swift 5 support! http/2 implementation SSL implementation is now

    detached from the host swift-nio-transport-services (macOS, iOS , tvOS) https://github.com/apple/swift-nio 2 ! uses Network.framework and Dispatch
  11. swift-NIO swift 5 support! http/2 implementation SSL implementation is now

    detached from the host swift-nio-transport-services (macOS, iOS , tvOS) https://github.com/apple/swift-nio 2 ! dotSwift 2019 Implementing JSON-RPC with swift NIO by Tom Doron (Apple) uses Network.framework and Dispatch
  12. The header is what defines it as a script CocoaHeads

    Paris April 2019 Swift Scripting for Localizable strings files on iOS by Jean-Charles Sorin (BackMarket)
  13. swift for TensorFlow swift direct interaction with TensorFlow operators debug

    TensorFlow using lldb write swift code in Google Colab (a Jupyter in Drive)
  14. swift for TensorFlow swift direct interaction with TensorFlow operators debug

    TensorFlow using lldb write swift code in Google Colab (a Jupyter in Drive) use @dynamicCallable to call python code if needed
  15. " You can write a server-side application " You can

    share your models between your server and your app " You can write cross-platform network code for servers & clients " You can automate your workflow " You can prototype your AI models " You can… make it better and safe