[OT] compiler optimisations

via Digitalmars-d digitalmars-d at puremagic.com
Sat May 2 08:09:37 PDT 2015


On Friday, 24 April 2015 at 07:33:42 UTC, weaselcat wrote:
> C++ has mach7 for pattern matching, all done in metaprogramming 
> AFAIK. I doubt anything like that could be done in D without 
> being far uglier.

Ran across this paper that describes C++ patternmatching, haven't 
studied it closely, but worth a look:

http://www.stroustrup.com/OpenPatternMatching.pdf


More information about the Digitalmars-d mailing list