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

> C maps datatypes and actions to the underlying hardware, Javascript does not.

That's not entirely true. A lot of 8-bit microcontrollers, for example, do not have hardware support for arithmetic on 32-bit integers; nevertheless, C code using int32_t or uint32_t will compile just fine for those processors. This goes double for floats, if you'll pardon the completely unintentional pun.

It's a matter of degree, of course. C is still a lot closer to the metal than JS.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

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

Search: