Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Just curious: Has anyone does this yet? Specifically, I'm thinking of something vdom-like with the possibility of callbacks into wasm. Obviously, they would have to go some type of string marshalling and "proxied" IDs for callbacks, but the applications I'm thinking of don't require "huge" performance.


Yup, you call a c function that calls out to JS and then make whatever dom/canvas calls you want.


Do you happen to have a link to an implementation for wasm?


Not publicly, the emscripten docs covers it in pretty good detail:

http://kripken.github.io/emscripten-site/docs/porting/connec...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: