mukul-rathi / bolt

Bolt is a language with in-built data-race freedom!
MIT License
546 stars 53 forks source link

(RC) Immix or Boehm-Demers-Weiser GC instead of GC_malloc #148

Open paulocoghi opened 2 years ago

paulocoghi commented 2 years ago

After reading https://github.com/mukul-rathi/bolt/issues/145, I would like to know your opinion on using Boehm-Demers-Weiser Garbage Collector github.com/ivmai/bdwgc instead of GC_malloc.

It can be used as a plug-in replacement for C/C++ malloc, is used in a lot of solid projects and languages and can take advantage of type information to locate pointers when this information is provided.

paulocoghi commented 2 years ago

Another option that seems to be better is Immix and it's improved version Reference Counted Immix.

Found them here (Fast Conservative Garbage Collection) and here (https://github.com/crystal-lang/crystal/issues/5271)

Immix