~/talk

Blink them to death using Embedded Swift

Talkat #Pragma Conference 2024 · 2024-10-29..10-30· [embedded-and-hardware, swift]
slides:none on file

Apple’s experimental Embedded Swift compiles a constrained Swift subset to run on tiny MCUs (example: nRF52840 dev kit), aiming to cut runtime and binary size to fit 256 KB RAM / 1 MB flash vs typical 42 MB / 8 GB device targets. Build uses nightly Swift snapshots, the board toolchain (Zephyr / nRF Connect SDK), C bridging headers, CMake/Cake and linker scripts; useful helpers include Swift MMIO and Swift 6’s type throws. Demos: a Blinky LED and a traffic‑light state machine compile and run after resolving a PIC/linker hiccup.

AI-written summary · about

  1. 0:00Introduction and speaker background
  2. 2:57What is embedded Swift
  3. 8:17Hardware and toolchain setup
  4. 13:39First embedded Swift demo
  5. 14:23Setting up development environment
  6. 15:28Rewriting embedded code in Swift
  7. 20:23Debugging linker issues
  8. 21:07Final demo and traffic light project
  9. 22:34Memory-mapped I/O and hardware abstraction
  10. 25:48What embedded Swift is not
  11. 26:10Pain points and challenges
  12. 28:20Why use embedded Swift
  13. 29:24Real-world usage and projects
  14. 30:30Future possibilities for embedded Swift
  15. 31:14Getting started with embedded Swift
  16. 32:02Q&A session
~/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.