I have written c++ code that connects to a mysql database and to run it in the browser I have to use PHP to use exec() which makes it way slower than it actually is in the command line. Can I just convert this c++ executable that connects to mysql into a WASM file so I can just call main() in javascript and then display the output in some div? I am trying to make a website like a search engine and it requires a lot of power. I tried writing it in js but it was slower than c++.