frank-dspeed / rust-justjs

a very small crate exposing a small subset of deno api's to build @stealify/b8g Runtimes.
MIT License
0 stars 0 forks source link

Best way to implement this #1

Open frank-dspeed opened 2 years ago

frank-dspeed commented 2 years ago

https://github.com/rust-lang/cc-rs

we switch the build chain to use that.

till we got b8g working. as expected.

first of all we translate this to rust the api is so small that wrapping it is not worth it we will simply recode just.cc in rust using deno v8 bindings.

frank-dspeed commented 2 years ago

https://github.com/denoland/deno/tree/main/serde_v8 looks promissing maybe we adopt that even in stealify core to create more simple rust components from binary state.