Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

pnkfelix
Copy link
Contributor

Summary

Remove the reference-counting based Gc<T> type from the standard
library and its associated support infrastructure from rustc.

Doing so lays a cleaner foundation upon which to prototype a proper
tracing GC, and will avoid people getting incorrect impressions of
Rust based on the current reference-counting implementation.

(rendered)

@steveklabnik
Copy link
Contributor

Big 👍 here.

@CloudiDust
Copy link
Contributor

+1, and we should make the plan known to as many in the community as possible, so people will not assume that Rust is never going to have a proper tracing GC.

@Ericson2314
Copy link
Contributor

Sounds good!

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Take 'em out - keep things clean as possible. Chances are the future GC will end up having different lang items, and in any case it is no bother to add more lang items.

@nikomatsakis
Copy link
Contributor

👍

@pnkfelix
Copy link
Contributor Author

(hmm, the sample program I just added to the RFC seems to consistently cause the playpen timeout to trigger. AFAICT it seems to be triggered by my call to timer::sleep on a non-main task; you can remove that to run it to completion in the playpen if you want.)

@thehydroimpulse
Copy link

👍

@jsanders
Copy link

@pnkfelix: Would it be possible to just include output from a run of the sample program, so that we don't need to run it in the playpen (or compile it locally) to see what it's demonstrating?

Revise the printouts as well to be clearer about each cases' intent.
@brson brson mentioned this pull request Oct 1, 2014
@brson brson merged commit 3d69055 into rust-lang:master Oct 1, 2014
@brson
Copy link
Contributor

brson commented Oct 1, 2014

Accepted as RFC 67. Discussion. Tracking.

@Centril Centril added A-allocation Proposals relating to allocation. A-machine Proposals relating to Rust's abstract machine. labels Nov 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-allocation Proposals relating to allocation. A-machine Proposals relating to Rust's abstract machine.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.