Yes, easily. We do this for the JS runtime at litprotocol.com
Re:Deno 1.25
by nextaccountic on Thursday August 25, 2022 @06:22PM
(#32600703)
Cool! Can you link to it on Github or something? (is it oss?)
In particular, I wish I could write a Tokio async program in Rust, and load plugins using deno, and have this work seamlessly
edit: actually, https://deno.land/[email protected]/embedding_deno https://crates.io/crates/deno_core https://docs.rs/deno_core/latest/deno_core/
It doesn't expose tokio so I suppose that it manages its own runtime separate from the executor of the application using it (edit 2: it doesn't, it lets the user bring their own executor. cool!)