Spyke

Syndicated from the fediverse. Read and engage on the original instance.

View original on prime8s.xyz
programming·ProgrammingbyMrWiggles

C and C++ Prioritize Performance over Correctness

Some common pitfalls in C/C++ and ways to avoid undefined behavior, illustrating that C/C++ are optimized for speed by making a concession that is undefined behavior. This makes these languages tricky to write in well, as there are lots of pitfalls. Do you think the performance benefits outweigh the brutal learning curve?

https://web.archive.org/save/https%3A%2F%2Fresearch.swtch.com%2FubOpen linkView original on prime8s.xyz
1

No replies yet

No comments on the original post yet.
C and C++ Prioritize Performance over Correctness | Spyke