Re:Chris Lattner on Swift and dynamic dispatch
by mikeash on Sunday December 13, 2015 @08:27AM
(#10726290)
If you're using arrays, you've departed from the limited subset in question. They're structs on the outside but complicated on the inside.
[ Parent
| on HN ]
Re:Chris Lattner on Swift and dynamic dispatch
by mwcampbell on Sunday December 13, 2015 @05:55PM
(#10728332)
I wonder why the designers of Swift decided to make arrays structs on the outside but complex on the inside. Why not make them objects, i.e. reference types, as in Java and .NET?