Thread overview
Dustmite for C++
Nov 28, 2019
Per Nordlöw
Nov 29, 2019
Per Nordlöw
November 28, 2019
Is anybody aware of any code minimizers (like D's Dustmite) specifically designed for fast minimizing of C++ with precise and thereby also efficient removal heuristics agnostic to C++ syntax and perhaps also semantics.

I'm aware of that Dustmite, given infinite compute capacity, can minimize all languages if it's just fed the right compiler command. How much more efficient would Dustmite become if it, in the C++ case, was served a complete parse tree produced by Clang or GCC?
November 28, 2019
On Thursday, 28 November 2019 at 17:27:50 UTC, Per Nordlöw wrote:
> Is anybody aware of any code minimizers (like D's Dustmite) specifically designed for fast minimizing of C++ with precise and thereby also efficient removal heuristics agnostic to C++ syntax and perhaps also semantics.

This is probably not very useful, but there are test-case reduction programs out there. Just search for "test case reduction" or "delta debugging"?


November 29, 2019
On Thursday, 28 November 2019 at 17:45:37 UTC, Ola Fosheim Grøstad wrote:
> This is probably not very useful, but there are test-case reduction programs out there. Just search for "test case reduction" or "delta debugging"?

Here's one interesting project:

https://blog.regehr.org/archives/697
December 02, 2019
On Friday, 29 November 2019 at 07:55:17 UTC, Per Nordlöw wrote:
> Here's one interesting project:
>
> https://blog.regehr.org/archives/697

Yeah, I also found the approach they take in creduce sounds interesting. Did you get anything interesting out of it?