denoland / rusty_v8

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

Implement full bindings for v8::Platform #1290

Open mmastrac opened 1 year ago

mmastrac commented 1 year ago

We are likely going to need to create a custom v8::Platform in the long term, so getting a start on this is going to be important. We prototyped mapping C++ vtables to Rust in #1275 and this would be a natural extension of that work, though it could potentially be more brittle.

It might make sense for us just to expose the task management APIs for now, but this may require investigation.

cc @aapoalas

aapoalas commented 1 year ago

Are you reading my mind?! I've had this on my mind the last few weeks and thought I'd surprise the lot of ya by suddenly busting out a complete v8::Platform subclassing solution in Rust.