News for hackers. Stuff that matters.
Re:Silver: A free implementation of Swift for .NET, Java, An... by mikeash on Monday February 09, 2015 @02:11PM (#9022997)
The fact that arrays and dictionaries are classes rather than structs is a major problem with this. That's a massive semantic difference between their implementation and Apple's, and it's one that won't show up as a compile-time error. Taking code written for Apple's implementation and using it on Silver is likely to result in a nightmare of crazy debugging trying to track down all the cases where you're now sharing arrays/dictionaries rather than copying them. This really needs to be fixed, and if it's truly impossible, IMO it's bad enough that the thing should be scrapped.

There are no comments on this comment yet.