Codable structs

So I read in the restrictions that structs cannot implement Protocols. Does that mean in particular that it will never be possible to have codable structs in Silver?

No, no worries. For one thing, once we add support for codable, it will involve special compiler magic, that would probably not be affected by the limitation. For another, the limitation of interfaces/protocols not being allowed on structs only applies to our current/legacy compiler back-end. As we move the Cocoa platform to our new Island back-end, that is supported. See these links for more details:

https://docs.elementscompiler.com/Platforms/Island/ObjectModels
https://docs.elementscompiler.com/Platforms/Cocoa/LegacyCocoaMode
https://docs.elementscompiler.com/API/Aspects/ObjectModels

if you wish, you can enable this mode now by toggling the option mentioned in the second link (but it won’t give you Codable yet, ofc)

hth,
marc