|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
New g++ template stress/regression test?I wonder if there would be an interest for a C++ template / compile
time ray tracer as a heavy test for * templates in general * the type system * regression and conformance testing I have a 95% complete template ray tracer based on fractional math. One thing e.g. that became evident for me during development is that performance of lookup or other type system related code degrades exponentially; such stuff could be tested with it. I guess the code is also very sensible to conformance. It is currently based on g++-4.4's support for c++0x (i.e. variadic templates + strongly typed enums), but I could port it back to 2003. As said, it is not bugfree as for an error somewhere in the shading or vector math, but I hereby liked to know if there is generally such an interest. Have a great day Sebastian Mach |
|
|
Re: New g++ template stress/regression test?Sebastian Mach wrote:
> I wonder if there would be an interest for a C++ template / compile > time ray tracer as a heavy test for > > * templates in general > * the type system > * regression and conformance testing How big is it? It might be suitable to go in the contrib/ dir, we already keep a copy of the paranoia FP tests in there, so your template package and maybe a testscript to run it and record stats might make a nice little addition in the same spirit. cheers, DaveK |
|
|
|
|
|
Re: New g++ template stress/regression test?On Fri, 6 Nov 2009, Dave Korn wrote:
>> I wonder if there would be an interest for a C++ template / compile >> time ray tracer as a heavy test for >> >> * templates in general >> * the type system >> * regression and conformance testing > How big is it? It might be suitable to go in the contrib/ dir, we already > keep a copy of the paranoia FP tests in there, so your template package and > maybe a testscript to run it and record stats might make a nice little > addition in the same spirit. I don't think that's a good idea. Rather, why not add this to http://gcc.gnu.org/testing/ (look for "Build and test guide" there) if it really is a useful test? Gerald |
| Free embeddable forum powered by Nabble | Forum Help |