~/talk

Event driven networking for Swift

Talkat try! Swift Tokyo 2018 · 2018-03-01..03-03· [swift, networking]
slides:none on file

SwiftNIO (Netty for Swift) is a low‑level, nonblocking I/O framework that claims to let one thread multiplex hundreds of thousands of concurrent connections by using per‑thread event loops, copy‑on‑write byte buffers, and a channel pipeline of handlers (examples: SSL handler, backpressure handler, echo handler). The talk shows a working encrypted echo server, explains bootstraps, promises for async operations, and notes the project is open source on GitHub and already prompted an ARC optimization in the Swift compiler.

AI-written summary · about

  1. 0:00Start
  2. 1:0910 does not happen as frequently as you may think
  3. 2:13Thread and Connection relationship in both worlds
  4. 4:25Threads are not free
  5. 10:30SwiftNIO Building Blocks
  6. 12:50Event Loop
  7. 14:31Channel Pipeline
  8. 16:15ChannelHandler
  9. 16:35ChannelOutboundHandler
  10. 18:07ChannelnboundHandler example
  11. 18:46Bootstrapping a Server
  12. 19:42SwiftNIO and the Swift ecosystem
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.