Free Republic
Browse · Search
General/Chat
Topics · Post Article

To: yesthatjallen
I was about the 10th user world wide of a tool called Purify in 1991. It instruments and detects memory issues including write beyond the end of an array, using uninitialized data (reads), freeing a pointer to memory that has already been freed. My co-workers were dumping core almost daily in their X Windows C code. Applying Purify stomped those bugs out fast. Later, I used similar products from other vendors for Windows platforms. Same good results. For the typical Linux user, the "valgrind" tool does a very good job of dynamic memory defect detection. I use the open source "cppcheck" for initial static analysis and write code with SonarLint extensions for Visual Studio Code. It is hard to beat C/C++ for performance. A little care and you can have the performance without the bugs.

I have had some interest in "rust", "D" and clojure as "safe" languages. The problem is that none of the customer code is written in those languages. The real world stuff is C, C++, Java, FORTRAN and Ada. The Ada stuff comes from an attempt by DoD to push for Ada development. The FORTRAN stuff remains due to stable implementations of compute intensive algorithms that just "work" and can leverage a vectorized processor like a Cray.

42 posted on 02/28/2024 3:51:25 PM PST by Myrddin
[ Post Reply | Private Reply | To 1 | View Replies ]


To: Myrddin

Thanks for the info.


43 posted on 02/28/2024 3:54:59 PM PST by linMcHlp
[ Post Reply | Private Reply | To 42 | View Replies ]

To: Myrddin

+1 for FORTRAN and Cray.

RIP Seymour.


58 posted on 02/28/2024 6:05:59 PM PST by grey_whiskers ( The opinions are solely those of the author and are subject to change without notice.)
[ Post Reply | Private Reply | To 42 | View Replies ]

Free Republic
Browse · Search
General/Chat
Topics · Post Article


FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson