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

A lot of c will translate very simply to JavaScript and any parsing or string manipulation will be insanely easier.


How can parsing and string manipulation be easier than just compiling C to Javascript using Emscripten? The interpreter already works in C. Wouldn't translating it manually to Javascript be extra effort?


Parsing and string manipulation are (hugely) easier in Javascript than C. Compiling the interpreter to Javascript via Emscripten is certainly easier than translating to Javascript -- but porting C to Javascript should still be very easy.




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

Search: