Skip to content

cbrownsey/ghost-gc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A garbage collected arena in which garbage collected boxes can be allocated, and which can't escape from the arena, using invariant lifetimes.

The main type of this crate is the garbage collected pointer Gc. It is a thin smart pointer branded with an invariant lifetime, to ensure that it is unable to escape from the arena in which it was allocated.

The Gc is capable of holding any type which implements the Collect trait, which includes most types which do not contain interior mutability.

This library is more or less a rewrite of gc-arena, with additional nightly features, such as the allocator api, and pointer metadata, to make the garbage collected pointers store the metadata on the heap.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages