[petsc-dev] Symbol visibility

Jed Brown jed at 59A2.org
Mon Dec 6 15:36:34 CST 2010


On Mon, Dec 6, 2010 at 22:23, Barry Smith <bsmith at mcs.anl.gov> wrote:

> Of course in the end we will be editing "code fragments" in an editor.


Related: http://www.cs.brown.edu/people/acb/codebubbles_site.htm


> But I would like to see much of the code obtained by "manipulating" the
> code fragments with powerful tools (beyond CPP or regular expressions), for
> example all the code that is in there for different block sizes should be
> "generated"; but I don't want it generated by crude m4 macros and crap like
> that.  Note that C++ templates try to provide a mechanism for this type of
> thing but we both think that mechanism is crappy.


Actually, I think C++ templates are adequate, and fairly well-suited, for
block size specialization.  It's when people try to do more with them that
the floodgates let loose.

Jed
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20101206/f5e0b5a3/attachment.html>


More information about the petsc-dev mailing list