Blog Post: Beating std::visit Without Really Trying
snarwin at gmail.com
Sat Oct 5 02:59:58 UTC 2019
I was curious how C++17's std::variant compared to the options we
have in D, like Algebraic and SumType, so I did a simple
comparison of the generated assembly for each of them. You can
read about it at the link below. And as you can probably guess
from the title, D comes out ahead, in the end.
This is my first attempt at sharing something like this, so any
comment or feedback is very much appreciated!
More information about the Digitalmars-d-announce