Stream: general

Topic: ✔ gc: mmtk


view this post on Zulip Andy Wingo (Mar 17 2022 at 08:07):

Not sure if people have mentioned this before but when it comes time for wasmtime to do the GC proposal, MMTk looks like a really good GC implementation: https://github.com/mmtk/mmtk-core. Is in rust, has a number of algorithms that you can choose, defines a way to inline fast-paths for allocation and barriers. Also they have good ideas about what an interface between a VM and a GC should look like. cc @Chris Fallin

Memory Management ToolKit. Contribute to mmtk/mmtk-core development by creating an account on GitHub.

view this post on Zulip Chris Fallin (Mar 17 2022 at 15:57):

@Andy Wingo this is super-cool, thanks for the pointer!

view this post on Zulip fitzgen (he/him) (Mar 17 2022 at 16:01):

I see a few cfgs related to x86 vs x86_64, trying to find something somewhere that talks about platform support, haven't found anything yet

view this post on Zulip Andy Wingo (Mar 18 2022 at 07:28):

yeah dunno. i think they try to be generally portable, the only salient difference being 32 or 64 bit. if it's of interest, there is apparently a v8 port -- apparently they upstreamed support into V8 to allow 3rd-party memory management (!) -- which was (again, apparently) accepted because it was a good refactor. (surprising, i know.) but that could be a starting point for testing it out, if it's of interest

view this post on Zulip Notification Bot (Mar 22 2022 at 07:45):

Andy Wingo has marked this topic as resolved.


Last updated: Oct 23 2024 at 20:03 UTC