[petsc-dev] Interesting
Barry Smith
bsmith at mcs.anl.gov
Mon Mar 15 14:15:51 CDT 2010
Neat stuff. Thanks for pointing it out.
I don't think we "need" something this general and powerful for
current PETSc; though if we were starting to write PETSc today?
The one place I'd really like to clean up is the double dispatch
of XXXXView() to get rid of the ugly if () dispatches. But I think
that is best done using the queryfunction() infrastructure we already
have, rather than a more general solution. Unless someone has some
simple, slick alternative.
Barry
On Mar 15, 2010, at 8:32 AM, Jed Brown wrote:
> On Mon, 15 Mar 2010 08:15:37 -0400, Matthew Knepley
> <knepley at gmail.com> wrote:
>> The C Object System: Using C as a High-Level Object-Oriented
>> Language.
>> (arXiv:1003.2547v1 [cs.PL]) <http://arxiv.org/abs/1003.2547>
>>
>> Has anyone seen this?
>
> New to me. Quite impressive what can be done with only C89 and
> variadic
> macros. I especially like the extensible multiple dispatch,
> availability of this makes many problems significantly easier.
>
> Jed
More information about the petsc-dev
mailing list