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

True, such options are available. To my understanding there is a performance hit involved, though, unless something like asm.js is used.

I also believe there are some current projects that compile Python and Ruby into JS, but I'm not sure how mature they are.



The performance is the same as if you wrote the javascript by hand. The only potential performance issue is when the compiler generates really poor javascript for some particular bit of code, where a person would have written less poor javascript if doing it by hand.




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

Search: