[swift-users] Why can't structs inherit from other structs?

Brent Royal-Gordon brent at architechies.com
Tue Aug 2 03:29:38 CDT 2016


Oops, forgot to finish a sentence:

> On Aug 2, 2016, at 1:24 AM, Brent Royal-Gordon <brent at architechies.com> wrote:
> 
> This makes them small and fast, which are necessities if we're to use them to implement fundamental data types like `Int`. Basically, if structs weren't already so "primitive", 

we would need to have *actual* primitive types to get the necessary performance.

-- 
Brent Royal-Gordon
Architechies



More information about the swift-users mailing list