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

Yeah it's true that restrict is well supported, mostly because all C++ compilers are also C compilers.

Maybe the biggest reason why C++ is slower in practice is because the programmers tend to feel that using features unique to C++ almost mandatory. Even though technically the pure C program also compiles fine in C++.



Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: