Stream: t-lang/wg-unsafe-code-guidelines

Topic: State of GC <-> Rust integration?


RalfJ (May 14 2019 at 15:48, on Zulip):

@Alan Jeffrey totally different question... is there any recent update on the state of GC<->Rust integration? I know boats did some work but it seems that got stalled by async/await, and I know Servo does something but AFAIK people still don't consider the problem 100% solved and I don't know if there has been movement there.

Alan Jeffrey (May 14 2019 at 15:49, on Zulip):

@RalfJ it's stalled at the moment, Josephine is still the last thing I did on it, don't know of a follow-up.

Alan Jeffrey (May 14 2019 at 15:50, on Zulip):

https://arxiv.org/abs/1807.00067

Alan Jeffrey (May 14 2019 at 15:51, on Zulip):

The technical problem with using Josephine in Servo is working out a migration strategy, since we have a lot of JS code :(

Alan Jeffrey (May 14 2019 at 15:51, on Zulip):

much of it is codegen'ed but there's a fair amount that's hand crafted.

RalfJ (May 14 2019 at 15:55, on Zulip):

do you mean JS glue code? Why would the "normal" JS code need migration?

Alan Jeffrey (May 14 2019 at 16:01, on Zulip):

@RalfJ the places where Servo is calling into SpiderMonkey using its C++ API.

Alan Jeffrey (May 14 2019 at 16:02, on Zulip):

Servo currently has a global variable for the JS context,

Alan Jeffrey (May 14 2019 at 16:02, on Zulip):

Josephine tracks the state of the JS context in its type, so can't be stored in a global.

RalfJ (May 14 2019 at 16:06, on Zulip):

I see, makes sense

Last update: Nov 19 2019 at 18:00UTC