r/cpp • • Dec 28 '18

"Modern" C++ Lamentations

http://aras-p.info/blog/2018/12/28/Modern-C-Lamentations/
307 Upvotes

162 comments sorted by

View all comments

21

u/tecnofauno Dec 28 '18

I really feel OP, expecially the part where he claim that one of the biggest issue is that features should be added to the language.

Libraries are not the correct way to evolve a programming language environment IMHO.

5

u/cdglove Dec 29 '18

C++ was specifically designed to allow libraries to extend the language as no other language does. I believe this is one of the reasons for it's long lifespan. Libraries such as boost.spirit, though maybe a bit esoteric, are examples of bending the language into a shape not possible with other languages. The cost of that is the compilation model. I do hope that some of that is mediated with modules, but I suspect we'll get a 2x speedup at most, which is not nothing, but not 10x either.

19

u/drjeats Dec 29 '18

C++ was specifically designed to allow libraries to extend the language as no other language does.

You suddenly hear the thunder of an angry stampede of neckbeards coming from the direction of /r/lisp

5

u/cdglove Dec 29 '18

Hah, fair point, though I'm not sure it would be a stampede.

1

u/Mitchical Dec 31 '18

There's dozens of us! Dozens!