3 ms·
boost::spirit and boost::qi are similar uses of deep secrets of template magic. They work nicely, until you make your first minor error and have to understand t
by simiones 6y ago
boost::spirit and boost::qi are similar uses of deep secrets of template magic. They work nicely, until you make your first minor error and have to understand the whole machinery to get what's wrong.
Maybe someday we'll have a language that is efficient and also allows creating efficient and usable DSLs. C++ ain't it.
Edit: perhaps D would actually be that language?
- CyberRabbi 6y ago> Maybe someday we'll have a language that is efficient and also allows creating efficient and usable DSLs. C++ ain't it. C++ constraints change the game here. Esoteric template errors will be a thing of the past
- simiones 6y agoAssuming you're talking about Concepts, I've heard Andrei Alexandrescu, for example, challenge that hope [0], but I'd be happy to hear this has been fixed. [0] https://www.youtube.com/watch?v=AxnotgLql0k https://www.youtube.com/watch?v=AxnotgLql0k