Better HN
topnewbestaskshowjobs
Log inSign up

BenT0

0 karma · joined May 6, 2023 (3y ago) · 3 submissions

Submissions

comment 3y ago · link · parent

My fault, mea culpa as we say. I first sent my com in this ask HN by error <facepalm> : https://news.ycombinator.com/item?id=35832296

comment 3y ago · link · parent

As someone who likes C++, here are the main pain points I have using modern C++, those pain points are common to FORTAN or C:

- compilation is a pain to setup and support along the project compared to Rust or Go, the lack of package manager is quite sensible and the experience is not warm and comforting.

- Modern and (consensually enough) tooling in my opinion. (On this matter, C++ beeing widely used in the industry, you have a no-willing-to-count number of softwares to test your C++ application. The list is way to long of closed or open source framework. Got a new job ? Congratulation you probably earned new framework to get in hand with).

- The compilation time.

This last one is not something you do not find in C and FORTRAN project:

- In the industry (does not apply to open source project), most of the C++ developpers knows the C++ of their graduation year and nothing else. You can find a lot of documentation/manuals telling you how to produce C++ before 2011 (big bang time for C++) and even now, you have poor documentation on how to produce modern C++ with C++20 features. The modern doc/manuals is a small amount of the accessible knowledge you can find on the internet about C++. Therefore, a poor amount of people are able to write modern and clean C++. The ability for educate juniors to modern C++ is quite low.

Now that you are here, something to the credit of C++:

- Very few languages hold the comparison with C++ regarding performance. Fewer have those performances with an object oriented structure of the code (to not say none in the embedded industry). There is a good reason to have most of the Gaming motors written in C++.