playX
playX
@jameslahm if you want to work on them I'll assign you to this issue. :)
@andrieshiemstra I think you can already unload modules just fine because they are stored inside HashMap so that should not be a big problem. Why I want realms is that...
I think realms should be stored inside the runtime and to access them `Runtime::realm()` should be used or something like that.
Hmm Starlight's new GC allows us to get access to runtime instance from *any* GC allocated object so I guess this could also be used to obtain realm or runtime...
I decided that Starlight will use a tiered method-based JIT compilation. There will be single-pass JIT compiler that simply emits unoptimized machine code and second tier will utilize all the...
Starlight implements them almost like in V8 and Boa for sure will need custom GC for this plus a lot of unsafe code. Custom GC is required because for serialization...
For me main problem with all the GC crates in Rust is not only the control but how slow and memory inefficient they are. rust-gc if I understand correctly uses...
They did use handles and scopes but now these are just no-op IIRC. They now use the same GC as Blink does: Oilpan GC. It is mostly precise.
If you're looking for impl of NaN boxing in Rust Starlight has two different implementations of them for handling JS values: :)
What about having `ValueVariant` enum which essentially can hold all the values NaN-boxed value can encode and then add `JsValue::variant()` which returns this ValueVariant. I'm pretty sure Rust and LLVM...