I dun a DIP, possibly the best DIP ever
Atila Neves
atila.neves at gmail.com
Mon Apr 27 12:08:11 UTC 2020
On Friday, 24 April 2020 at 20:23:09 UTC, Walter Bright wrote:
> On 4/24/2020 1:54 AM, Simen Kjærås wrote:
>>> Operator overloads don't change it.
>>
>> Sure they do - just think of expression templates.
>
> We're not adding features to support expression templates with
> tuples.
>
> ETs were "discovered" in the early aughts, and caused great
> excitement in the C++ community. Lots of articles,
> presentations, and projects were done using ETs.
>
> Then ... nothing. They just vanished from the conversation. The
> problem is they were ugly, clumsy, incomprehensible to debug,
> incredibly slow to compile, did not work at scale (blowing up
> the compilers) and impossible to work with if you weren't an
> expert.
>
> They're a failed experiment.
ETs are very much alive in C++. Both Eigen and Boost.Spirit are
popular libraries, and this despite the colossal hit to
compile-times.
More information about the Digitalmars-d
mailing list