May 02, 2015 Re: [OT] compiler optimisations | ||||
---|---|---|---|---|
| ||||
Posted in reply to weaselcat | 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 |
Copyright © 1999-2021 by the D Language Foundation