Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add link for coherence appendix to Swift forums #4241

Merged
merged 3 commits into from
Aug 24, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions docs/design/generics/appendix-coherence.md
Original file line number Diff line number Diff line change
Expand Up @@ -235,3 +235,9 @@ either:
like
[dynamic implementation binding](#rejected-variation-dynamic-implementation-binding)
(though perhaps with a monomorphization cost instead of a runtime cost).

In addition, this can create unsoundness when combined with dynamic downcasts
and a more complex, less predictable implementation model as
[discussed in Swift](https://forums.swift.org/t/retroactive-conformances-dynamic-downcast-type-unsoundness/73890).
This approach would be particularly complex in Carbon due to supporting
[impl specialization](terminology.md#specialization).
Loading