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

Move managed pointers into the standard library #7803

Closed
bstrie opened this issue Jul 15, 2013 · 7 comments
Closed

Move managed pointers into the standard library #7803

bstrie opened this issue Jul 15, 2013 · 7 comments
Milestone

Comments

@bstrie
Copy link
Contributor

bstrie commented Jul 15, 2013

I'm surprised that I was unable to find an open issue for this.

Read http://pcwalton.github.io/blog/2013/06/02/removing-garbage-collection-from-the-rust-language/ for the basic idea. From what I understand the general attitude is favorable, but people have yet to decide whether to salvage the @ sigil or to require @T to now be written Gc<T>.

Let's try to defer these syntax decisions and just get GC-in-a-library working as soon as possible, if people agree that it is desirable.

Nominating for 0.8. Aggressive, but I feel like we're going to suffer if we try to put this off for too long.

@bstrie
Copy link
Contributor Author

bstrie commented Jul 15, 2013

Paging @pcwalton.

@nikomatsakis
Copy link
Contributor

Paging me.

@catamorphism
Copy link
Contributor

We're not really using the 0.8 milestone, but this would be a backwards-compatible milestone issue.

@catamorphism
Copy link
Contributor

Accepted for milestone 1, well-defined

@pnkfelix
Copy link
Member

cc me

@thestinger
Copy link
Contributor

I think we should move managed pointers behind a feature switch ASAP. A library implementation isn't important before we actually implement a garbage collector, because the important functionality is already provided by the much better performing Rc type.

@thestinger
Copy link
Contributor

The Gc<T> stub exists and implementing a garbage collector is #2997 (see #11399 too).

flip1995 pushed a commit to flip1995/rust that referenced this issue Oct 21, 2021
Closes rust-lang#7803

changelog: [`transmute_num_to_bytes`] new lint
flip1995 pushed a commit to flip1995/rust that referenced this issue Oct 21, 2021
…msteffen

Add lint transmute_num_to_bytes

Closes rust-lang#7803

changelog: [`transmute_num_to_bytes`] new lint
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

No branches or pull requests

5 participants