@iljawascoding subclassing is not impossible. It is just opt in now. Before it was performance opt in. I applaud to the move.
-
-
- View other replies
-
@iljawascoding I wonder how apple managed to make watchOS faster and and watches last longer without hardware update?
-
@icex33@iljawascoding Apple Watch CPU is 500MHz w/32KB L1, 256KB L2. Dynamic dispatch was not an issue on 25Mhz 68040 w/4K cache. - View other replies
-
@mpweiher@iljawascoding really? No cache misses on different subclasses?
how big are the virtual tables? -
@icex33@iljawascoding I didn’t say dynamic dispatch didn’t exist. I said it wasn’t an issue. And you could always IMP-cache at call-site. -
@mpweiher@iljawascoding everyone currently burning cycles just because they don't know better. Now you will have to explicitly say BURN :) - View other replies
-
@icex33@iljawascoding Yes, burning cycles on the altar of Swift. Usually several times slower, sometimes more, seldom ess. -
@mpweiher@iljawascoding my data https://medium.com/@icex33/10-thousand-times-faster-swift-737b1accd973#.bm691w1ez … shows ~2x compared to C. Could try to compare to ObjC :) - Show more
-
-
-
@iljawascoding Disagree. Has nothing to do with compiler design, everything with API/language design. Knowing what is subclassable is good -
@uliwitness My point is that somebody with a compiler engineering background has a different POV than an app developer. - View other replies
-
@iljawascoding@uliwitness this was a community proposal, though - View other replies
-
@NeoNacho@uliwitness Decision by echo-chamber committee? -
@iljawascoding@uliwitness ¯\_(ツ)_/¯ — just saying the idea didn’t necessarily originate from the language devs - View other replies
-
@NeoNacho@uliwitness But it pretty much falls in line with the Swift team’s general stance: “Dynamism is evil, static is good”.
-
-
The compiler engineers don't have these problems,
@iljawascoding. They don't have to ship with many libraries the don't control#bad#swift
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.
Ilja A. Iwas
Maxim Zaks
Marcel Weiher
Ghoulie Ghost Terror
Yo, tu sabes?
Stephan Eggermont