On Thu, May 24, 2012 at 10:25 PM, Jed Brown <span dir="ltr"><<a href="mailto:jedbrown@mcs.anl.gov" target="_blank">jedbrown@mcs.anl.gov</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im"><div class="gmail_quote">On Thu, May 24, 2012 at 9:17 PM, Barry Smith <span dir="ltr"><<a href="mailto:bsmith@mcs.anl.gov" target="_blank">bsmith@mcs.anl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div>  Sarcasm on --<br>
   Yes, of course. It is essentially done, write it up and I want it on my desk by 8 AM Friday.<br>
  -- Sarcasm off<br>
<br>
   So what if we know the primatives. How does it give us the "language" to express these kernels and the tools to do the processing?</div></blockquote></div><br></div><div>I hate C++ templates as much as the next guy, but I think they can do this without insanity. I think we could also do it with a handful of macro hacks and C inline functions.</div>

<div><br></div><div>Sure, we might be able to make a cool DSL for expressing this stuff, but I'm afraid we'd end up spending more time and debugging confusion making it play with everything else than we'd gain by having the DSL in the first place.</div>

<div><br></div><div>I could be totally wrong.</div>
</blockquote></div><br>I think its wrong, but not for the obvious reason. You can do very elegant things with macros, but<div>they always end up being thrown away when you have to maintain them and have others understand</div>
<div>them.</div><div><br></div><div>   Matt<br clear="all"><div><br></div>-- <br>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>
-- Norbert Wiener<br>
</div>