From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11798 invoked by alias); 6 Nov 2009 10:14:11 -0000 Received: (qmail 11788 invoked by uid 22791); 6 Nov 2009 10:14:10 -0000 X-SWARE-Spam-Status: No, hits=-0.4 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail-px0-f192.google.com (HELO mail-px0-f192.google.com) (209.85.216.192) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 06 Nov 2009 10:13:57 +0000 Received: by pxi30 with SMTP id 30so591713pxi.14 for ; Fri, 06 Nov 2009 02:13:55 -0800 (PST) MIME-Version: 1.0 Received: by 10.140.171.4 with SMTP id t4mr222079rve.83.1257502435621; Fri, 06 Nov 2009 02:13:55 -0800 (PST) Date: Fri, 06 Nov 2009 10:14:00 -0000 Message-ID: <7f0369b60911060213k5c50ee14g97e7a066020a5c6d@mail.gmail.com> Subject: New g++ template stress/regression test? From: Sebastian Mach To: gcc@gcc.gnu.org Content-Type: text/plain; charset=ISO-8859-1 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2009-11/txt/msg00121.txt.bz2 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