@mjtsai compare ObjC - switching between mutable and immutable is completely explicit and inspectable. Including when passing arrays as args
@mjtsai perf is slower than swift in the fastest case, but it is consistent, where Swift easily can differ several orders of magnitude.
-
-
@nuoji Seems like you have to hope that the compiler never regresses and also that you can figure out what it's doing in pathological cases. -
@mjtsai "Seems like you have to hope that the compiler never regresses" exactly. You need to put your faith in the optimizer. That is scary. -
@nuoji Incidentally, this also means that a hypothetical second implementation of the language would need to do all the same optimizations… -
@mjtsai Yes that too.
-
-
-
@nuoji Yes, that is the part that worries me. The compiler will get better, but there will always be things it can’t figure out. - View other replies
-
- View other replies
-
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
Christoffer Lernö
Michael Tsai
Joe Groff