Hacker News new | ask | show | jobs
by paulkoer 4732 days ago
Has it been decided yet if garbage collection should be moved out of the core and only be provided as a library? If memory serves me right there was some discussion on this shortly after the 0.6 release [1][2].

[1] http://pcwalton.github.io/blog/2013/06/02/removing-garbage-c...

[2] https://news.ycombinator.com/item?id=5811854

3 comments

Consensus is leaning towards moving it out into a library. The only undecided thing at this point appears to be the fate of the @ symbol, e.g. whether it should remain as sugar for user-provided pointer types (which includes types in the stdlib).
So @ would mean "something that implements the pointer trait"?
If memory serves you right, then it shouldn't matter :)
Well done sir!
I'm hoping the "coerce to borrowed" functionality will work with user defined pointers. Maybe via a trait?
That's the plan: make library defined pointer types first class.