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

Yes, for most real-world examples JavaScript is significantly slower; JIT isn’t free and can be very sensitive to small code changes, you also have to consider the garbage collector.

Speed is also not the only metric, Rust and C enable much better control over memory usage. In general, it is easier to write a memory-efficient program in Rust or C than it is in JS.



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

Search: