News for hackers. Stuff that matters.
Re:The Power of 10: Rules for Developing Safety-Critical Cod... by hedora on Wednesday June 28, 2023 @11:45PM (#36516076)
I wish there was a “this is tail recursive; if you cannot turn it into a loop, fail to compile” compiler annotation for C++/rust.
Re:The Power of 10: Rules for Developing Safety-Critical Cod... by Svetlitski on Wednesday June 28, 2023 @11:56PM (#36516132)
Clang provides the "musttail" attribute for C and C++:

https://clang.llvm.org/docs/AttributeReference.html#musttail