Hacker News new | past | comments | ask | show | jobs | submit login

Interesting that Nim is slightly faster than C it considering that it compiles down to C.



That's possibly because of the "Code must follow best practices" restriction.

Oftentimes compile to C is "It's C Jim, but not as we know it"

You can write C as if it is a SSA VM or similar intermediate representation that leaves very little work for the first stages of the compiler.


That's correct, as the nim's generated C code is not idiomatic.




Consider applying for YC's Summer 2025 batch! Applications are open till May 13

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

Search: