Is there a Deno equivalent of the libnode endeavor? (C interface for cdylib builds)
#15810
josh-hemphill
started this conversation in
General
Replies: 1 comment
-
|
You can write your own C interface for #[no_mangle]
pub extern "C" fn create_runtime() {
deno_core::JsRuntime::new(...);
} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
For what's going on in node land that I'm referring to see the PR and MVP
Knowing nothing about cdylib generation, I thought I could just compile
deno_coreordeno_runtimeascdyliband be able to use it externally, but found out it needsCinterfaces for that to work.Personally I'd much prefer to use Deno for embedding in other applications, but I can't find any info on anyone else creating linkable binaries for Deno.
An off-the-cuff idea I have is if this exists; I wonder if it would be possible to use with
deno compileto also be able to generate linkable binaries from javascript code. 👀Beta Was this translation helpful? Give feedback.
All reactions