~/talk

Macros Six Months Later: Not Everything Is Smooth

TalkinRussianat Mobius 2024 Spring · 2024-05-23..06-01· [swift, compilers-and-language-design]
links:none on file
slides:none on file

A developer reports on six months of using Swift macros: why they were added, the practical problems encountered when integrating them, and techniques used to solve those issues. The talk covers building an in-house Swift macro library at Ozon Seller, performance considerations (are macros fast?), and whether macros are suitable as the main code-generation tool for a large project.

AI-written summary · about

  1. 0:00Introduction
  2. 1:28Speaker background
  3. 2:11Life before macros
  4. 5:22What macros are
  5. 6:31Macros examples
  6. 8:00First macros at Ozon
  7. 10:10Macros pros
  8. 11:33Macros cons
  9. 12:58Protocol problems
  10. 17:29Problem solutions
  11. 20:21Protocol inheritance graph
  12. 21:45Semi-auto mock creation
  13. 24:42Helper macros
  14. 25:23Macros for complex cases
  15. 25:45Macros performance
  16. 30:02Sourcery comparison
  17. 30:43Summary and outlook
  18. 33:00Q&A
~/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.