[swift-evolution] [Pitch] Version-pinned patching of public declarations

Joe Groff jgroff at apple.com
Thu Dec 31 18:16:56 CST 2015


> On Dec 31, 2015, at 1:20 PM, Dave Abrahams <dabrahams at apple.com> wrote:
> 
> Hi Joe,
> 
> Can you compare the developer experience with/without this feature, e.g. paint some scenarios and describe what one would have to do to deal with it?

If a binary framework ships with a bug, and that bug is exercised as a second-order effect of other framework functionality, then without dynamic patching, your choices amount to trying to avoid or work around the bug, or reimplementing the functionality between you and the bug yourself (or replacing it with a third party library). If the bug lies somewhere deep like in text layout or affine transform math, or in something complex like PDF rendering (all bugs that have really shipped), replacing the functionality might not be practical, and avoiding the bug might not be possible.

-Joe



More information about the swift-evolution mailing list