News for hackers. Stuff that matters.
Re:How C++ Resolves a Function Call by simiones on Tuesday March 16, 2021 @10:33AM (#26477183)
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?

Re:How C++ Resolves a Function Call by CyberRabbi on Tuesday March 16, 2021 @11:16AM (#26477864)
> 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

Re:How C++ Resolves a Function Call by simiones on Tuesday March 16, 2021 @11:45AM (#26478341)
Assuming 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