Skip to content
This repository was archived by the owner on Sep 24, 2025. It is now read-only.

Implement a complete virtual heap with thread safety and Garbage Collection #53

Description

@NickRMD

Is your feature request related to a problem? Please describe. (Mark with bug label if yes)

No.

Describe the solution you'd like

Implement a heap with garbage collection and thread safety.

Describe alternatives you've considered

Using a combination of:

Arc<RwLock>>

for enabling heap usage across multiple threads and tasks (green threads). Implement a stop-the-world garbage collector employing a tri-color marking algorithm for tracing objects. Introduce object generations (newer to older) to reduce garbage collection frequency on older objects, as newer objects tend to become useless more quickly. The garbage collector should run across the entire heap only when it's almost full.

Additional context

All of us need a heap; you dummy!

Metadata

Metadata

Assignees

Labels

acceptedIssue Acceptednew featureNew feature requestwork in progressWork is being done for this feature or enhancement.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions