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

In this demo, they're not writing code in JS. They're compiling C++ code to run in the browser's webasm runtime.


Same with ucisysarch's demos. All opencv.js does is add JS bindings to compiled C++ code. They could've made it output webasm just by adding a "-s WASM=1" to the g++/em++ flags.




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

Search: