denoland / rusty_v8

Rust bindings for the V8 JavaScript engine
https://crates.io/crates/v8
MIT License
3.13k stars 300 forks source link

feat: cppgc::Ptr #1523

Closed devsnek closed 1 month ago

devsnek commented 1 month ago

I avoided this before because there's no way to make this type as safe as it should be, and Member was convenient enough, but Member is slower to construct and read/write from due to its internals, and it is also difficult to work with due to being nullable. This also enables some very useful API improvements in deno_core to unlock cppgc Resource types.