3 ms·
These aren't exactly secrets, are they? Vtables and similar optimizations have been used in Java and .Net compilers for a long time. For a good explanation in C
by chton 12y ago
These aren't exactly secrets, are they? Vtables and similar optimizations have been used in Java and .Net compilers for a long time. For a good explanation in C# you can read http://netmatze.wordpress.com/2013/04/06/dynamic-dispatch-in-c/ http://netmatze.wordpress.com/2013/04/06/dynamic-dispatch-in...
- mikeash 12y agoWell no, they're certainly not actual secrets. I used the word for two reasons: first, to convey that which mechanisms are actually used in Swift aren't well known yet, and secondly and much more importantly, to make the title alliterative.
- chton 12y agoAlliteration is always a good reason :) I shouldn't have been so short with you. I've just seen one to many articles where Swift is made to be seen as Apple's godly gift to software development, without any references to similar languages. Not that yours is that ofcourse, it just triggered that frustration a bit :)
- mikeash 12y agoI understand and share your frustration. This article is my attempt to counter the "Swift is super fast because rainbows and unicorns" attitude floating around.
- dang 12y agoI'm sorry to spoil your alliteration, but in addition to this not being secrets, it isn't speed either (yet), as the second paragraph makes clear. So (as the HN guidelines ask) we changed the title to a phrase from the article that seems more accurate and neutral.
- mikeash 12y agoI disagree with the characterization as "baity", as I never write with any intent to attract links. However, your site, your rules, and I don't care what title you use here.