|
Boost : |
Subject: Re: [boost] Accelerating algorithms with SIMD - Segmented iterators and alternatives
From: joel falcou (joel.falcou_at_[hidden])
Date: 2010-10-12 12:46:46
On 12/10/10 18:40, Simonson, Lucanus J wrote:
> Having done expression templates and meta programming (including expression templates for vector primitives) I can honestly say that I wouldn't want to implement an optimizing compiler as a template meta-program. It would be a very tedious and painful task with the end result being something that is thoroughly impractical due to long compile times and the impossibility of maintaining it.
>
Really ? try perusing proto to its fullest, it's not that hard to
maintain as soon as oyu have a neat generic package around
and use it to geenrate a proper intermediate representation of your code
fragment.
> It could not compete with the quality and speed of compilers programmed in C.
>
Compile time is an expendable ressources, runtime is not.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk