How safe are Swift structs?

Do you think Swift structs are safe? This video may change your mind. “Structs should be the default choice” and “Only use classes when necessary” is common advice but might be misleading. We’d like to show you a different way of looking at the “Structs v… Read more

Similar

Swift type checking is undecidable

More precisely, the introduction of SE-0142 and SE-0157 has made canonical type computation into an undecidable problem. I'll begin with the necessary background information before presenting my argument, and then outlining the next steps. Canonical type... (more…)

Read more »