Skip to content

Try a different memory garbage collector: whippet #8626

Open
@roberth

Description

I want to add the boehm garbage collector is a conservative collector that does not allow heap compaction.

I was hoping to spark some interest in assessing the mark-region algorithm as a possible new garbage collection algorithm for nix because it allows for heap compaction. There are some existing implementations in rust (immix) and c (whippet). In particular the whippet implementation seems relevant to nix because it has zero dependencies and has boehm-compatible api.

Originally posted by @jsoo1 in #8621 (comment)

Metadata

Assignees

No one assigned

    Labels

    languageThe Nix expression language; parser, interpreter, primops, evaluation, etcperformance

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions