Encoding unit — one grounded idea

1 Swift closures provide a safe and natural mechanism for callbacks, avoiding unsafe function pointers and untyped arguments.
“A closure is a very natural mechanism for a callback. We don’t have to deal with unsafe function pointers or untyped context arguments which are a common solution for callbacks in C.”
spoken · 751s · 2024-06-11 · Apple Developer · WWDC24: Go small with Embedded Swift | Apple
id: 2b1a732e9a94491e
concepts in this idea