Skip to content

Ch. 18: use “dyn compatibility” instead of “object safety” #4129

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

Merged
merged 1 commit into from
Dec 3, 2024

Conversation

chriskrycho
Copy link
Contributor

  • Introduce the concept at the end of 18.2 when discussing the tradeoffs of dynamic dispatch, with a link to the reference. The link is not currently valid, because of the versioning timeline, but it will be when this stabilizes!
  • In 18.3, simply replace “object safe” with “dyn compatible”. There is still probably not enough discussion of it, but with the introduction and link in 18.2, it is probably enough for now?

This is not technically part of the 2024 Edition but that’s when it will land in Rust and so it will be good to have this in place.

Fixes #3949 (kind of, anyway).

- Introduce the concept at the end of 18.2 when discussing the tradeoffs
  of dynamic dispatch, with a link to the reference. The link is not
  currently valid, because of the versioning timeline, but it will be
  when this stabilizes!
- In 18.3, simply replace “object safe” with “dyn compatible”. There is
  still probably not enough discussion of it, but with the introduction
  and link in 18.2, it is *probably* enough for now?
@chriskrycho chriskrycho force-pushed the compatibility-improvement branch from b4a05d2 to 1611a39 Compare December 3, 2024 22:49
@chriskrycho chriskrycho merged commit 5860a32 into main Dec 3, 2024
6 checks passed
@chriskrycho chriskrycho deleted the compatibility-improvement branch December 3, 2024 22:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ch17-03 Mentions Object Safety with Little Explanation
1 participant