Closed dsseng closed 5 years ago
You mean GN, right? We don't use GYP here.
There was a discussion about native modules during September-November or so but turned out unconclusive, but I definitely would like this support, the question is: how?
I personally think a big selling point is message-passing FFI like Ryan talked about in JSConf rather than having deno deal with the whole toolchain like Node has to
I'm open to suggestions. Native extensions are difficult and insecure. Maybe we can do something with WASM.
For the time being we have our arms full just making the basic modules work.
WASM would be ideal for some use cases, it certainly would be secure. Additional external bindings though would be a problem, but that is the security problem with native extensions.
wasm sounds like an excellent extension point except for where additional system APIs are required.
@benjamingr ye, but my issue was especially for system apis such as OpenCL, CUDA, TensorFlow etc
@ry how soon #1325 will be done?
With #2385 in progress can we close this issue? It seems to be a duplicate of #296.
CC @ry
indeed - let's move the discussion to #296
Idea: add something like
node-gyp
for native modules.