Ask HN: With emscripten, can C++ developers write web app without JavaScript
Is this also one of the goals of WebAssembly? ie. to enable non-web developers to write web application in their own language.
Is this also one of the goals of WebAssembly? ie. to enable non-web developers to write web application in their own language.
It's a linux wrapper, it listens to port X and calls an application everytime it gets a new connection.
The application will receive the HTTP requests in stdin. You'll need a parsing library to parse the request and generate a valid answer.
It's really old and deprecated technology but it's rather simple.
You can _currently_ do this without WebAssembly, but there's zero point to it.
As to the question why, C++ is not only about runtime performance, it's a more mature language than javascript/typescript and there are powerful data structure/design patterns/algorithms that are missing from javascript. Of course I see it this way because I'm way more competent in C++ than javascript.