Integrating Emscripten with PouchDB #8472
Replies: 1 comment
|
Did you mean, that you would like to interact with PouchDB in a WASM module? Short answer: you shouldn't DetailsYou have to bind the export table of your wasm instance to the methods of a pouch instance, if you want to call em directly (it's a much better idea to write yourself some helpers in JS and bind these instead). You also need to transfer (pack in js -> unpack in c++) every value crossing these interface. This can be very slow! I'll close this, since your GH history is empty and I didn't expect any other reaction to this discussion. If you're still interested in PouchDB + WASM feel free to open another thread with more details (best case: you including a link to your demo project so others can play with you on that idea) 😉 |
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.
I am using CPP as programming language. I would like to know can Emscripten be integrate with PouchDB? If yes, how is it possible?
All reactions