Liste des Groupes | Revenir à cl c |
On 24/08/2024 19:27, Bart wrote:I developed a static analyzer that can detect such types of leaks and make C code safer than C++ (better than RAII). The author did not provide the complete source; otherwise, I could have demonstrated the static analysis working on the code.>Up there someone is asking about a valgrind leak they can't find.
C++ incorporates most of C. So someone can write 'C++' code but can still have most of the same problems as C.
>
Meanwhile real C++ code has several times more boilerplate than C. HTF you can even discern your actual program amidst all that crap is beyond me.
>
There /are/ proper higher level languages than both C and C++. You can use one to help develop a working application, then porting that part to C is a quicker, simpler and safer process.
Les messages affichés proviennent d'usenet.