www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Dustmite for C++

reply Per =?UTF-8?B?Tm9yZGzDtnc=?= <per.nordlow gmail.com> writes:
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?
Nov 28 2019
parent reply Ola Fosheim =?UTF-8?B?R3LDuHN0YWQ=?= <ola.fosheim.grostad gmail.com> writes:
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"?
Nov 28 2019
parent reply Per =?UTF-8?B?Tm9yZGzDtnc=?= <per.nordlow gmail.com> writes:
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
Nov 28 2019
parent Ola Fosheim =?UTF-8?B?R3LDuHN0YWQ=?= <ola.fosheim.grostad gmail.com> writes:
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?
Dec 02 2019