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

(I submitted the link, but...) Do you think a C port will improve performance over C++? Google only returns wishlist something like this http://rajeshanbiah.blogspot.in/2012/01/nodec-la-nodejs.html


In all honesty, probably not. Node.js is too thin to really make a C port all that worthwhile.

Unless the dispatcher is extraordinary slow, the major performance issues are going to be in the userland code more than the actual Node code.


A properly coded C++ app should run as fast as C; it can be faster...


Not while C++ doesn't have restrict pointers


Yeah, all performance benefits of C come from a single under used feature. </sarcasm>


While the standard does not specify a restrict keyword, it is practically available in quite a lot of compiler.




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

Search: