Stream: cranelift

Topic: GC Barriers and Cranelift


view this post on Zulip fitzgen (he/him) (Dec 17 2019 at 23:16):

Hey y'all :wave:

I evaluated how other GC implementation-agnostic compilers (LLVM, Hotspot) support different kinds of GC barriers, and wrote up a proposal for how we might do the same in Cranelift (supporting both SpiderMonkey GC's and Wasmtime's various needs).

https://github.com/bytecodealliance/cranelift/issues/1176#issuecomment-566790342

Interested in your feedback @Dan Gohman, @Benjamin Bouvier, @Luke Wagner, and whoever else!

Most likely global.set/.get or table.set/.get for reference types will be translated into regular memory load and store instructions. Currently, their implementations are missing at codegen side. T...

view this post on Zulip fitzgen (he/him) (Dec 17 2019 at 23:17):

ugh, looks like github doesn't assign ids to headers in comments, so the table of contents is broken :(

view this post on Zulip Benjamin Bouvier (Dec 18 2019 at 10:51):

cc @Ryan Hunt who's been working on anyref integration in Cranelift/Baldrdash lately.

view this post on Zulip Benjamin Bouvier (Dec 18 2019 at 12:14):

I've commented in the issue.


Last updated: Nov 22 2024 at 16:03 UTC