proposals icon indicating copy to clipboard operation
proposals copied to clipboard

Can WebAssembly callback .dll or .so in 2022?

Open woshildh opened this issue 3 years ago • 1 comments

We are develop an app using electron, but our app need use opencv to run our deep learning algorithms (base C++). Can WebAssembly call a dll to finish this?

woshildh avatar Apr 22 '22 07:04 woshildh

WebAssembly cannot directly call a native dll, but if you can create a JS function in electron that calls out to the dll, then you could import that function into a WebAssembly module and call it.

tlively avatar Apr 22 '22 23:04 tlively