Re: Compiling C++ modules

Kyle Moffett
2006-05-02T15:25:58Z

On May 2, 2006, at 11:15:25, Al Viro wrote:
> On Tue, May 02, 2006 at 06:04:23PM +0300, Avi Kivity wrote:
>> BTW, C++ could take over some of sparse's function:
>
> And the point of that would be? sparse is _fast_ and easy to
> modify; g++ is neither.

For example; you can run _both_ a full sparse with all checks _and_
"gcc -Wall -Wextra -Werror -g -O2" in less time than it takes to
_just_ run "g++ -O0" on a nearly identical file. If you have some
new typechecking to do, figure out how to add it to sparse without
cluttering up the syntax, don't convert the thing to C++, slow down
the compile, etc.

Cheers,
Kyle Moffett