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

I highly doubt it's true. I can usually approach the same speed in C if I'm working with a familiar compiler. Sometimes I can do significantly better in assembly but it's rare.

I work on bare metal embedded systems though, so maybe there's some nuance when working with bigger OS libs?



The difference is probably that you don’t work in an environment that supports SIMD or your code can’t benefit from it.


You're correct, I don't use SIMD instructions much, but I can, and with a C compiler. So still, not sure the advantage of ASM.




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

Search: