Re:Show HN: How to compile C/C++ for WASM, pure Clang, no li...
by drfuchs on Monday April 11, 2022 @04:16PM
(#30994264)
(Obligatory:) Neat! Still, a lot of copying bits around, and more JS than one might hope for. Could you send a pointer to canvas into the C code and operate on it in a direct, zero-copy way there?
[ Parent
| on HN ]
Re:Show HN: How to compile C/C++ for WASM, pure Clang, no li...
by brrrrrm on Monday April 11, 2022 @07:59PM
(#30996818)
Unfortunately, you cannot.
https://stackoverflow.com/questions/42806037/modify-canvas-f...