Re:Deno: JavaScript Runtime for V8 Written in Rust
by aikah on Monday January 20, 2020 @08:07PM
(#22103439)
How and does deno deals with extensions built in C/C++ for instance?
[ Parent
| on HN ]
Re:Deno: JavaScript Runtime for V8 Written in Rust
by kevinkassimo on Monday January 20, 2020 @08:16PM
(#22103490)
We currently support Rust message-passing based plugins. Rust sources can be fetched with Cargo or other alternative tools.
Maybe (just "maybe" for now) we will be able to support plugin imports. In that case dylibs could be directly pulled down from network just like normal files (don't take my words as official though -- we have not decided on that yet)
There have been attempts to add some util functions for loading such plugins easier: https://github.com/denoland/deno/pull/3471