Live data from Hacker News

Modern C++ Programming Course

github.com

61–70 of 221 posts

Re: Modern C++ Programming Course

#62

[flagged]

> Does it make sense to still invest time to learn C++ when Rust exists?

Yes. The overwhelming majority of industry is using C/C++.

Rust is still very much niche when compared to the overall market.

Additionally, (Someone can correct me if this is wrong) IIRC, mozilla, was initially one of the biggest proponents of rust, but still just uses rust in a supplementary role. C++ still powers the heavy lifting.

Re: Modern C++ Programming Course

#63
post #53

looks good,is there one pdf for all chapters?

I have cloned the repository then combined the chapters using pdftk: pdftk *.pdf cat output Modern_Cpp_Programming.pdf

on airplane with a phone so can't do that,wish it had a download link for the full PDF,will create when I am back to my pc

Re: Modern C++ Programming Course

#64
I like to watch Formula 1 and NASCAR races. As interesting as seeing the cars pushing the limit of materials and mechanics is just as interesting seeing them crash. It shows the flip side of design. I wish this sunny-side tutorials had at the end of their books some black pages with the hall of horrors. Weird compilation messages and pointers getting demoted and random segfaults in real scenarios. We all remember the inverted wings in the F1 cars and vehicles literally taking off when the body loose close contact to the ground. Now in NASCAR the roof flaps come off when the car gets slight bump and the front wheels loose traction. C++ Is not a risk averse language.

Re: Modern C++ Programming Course

#65
post #34

I picked C++ back after a long break and I have to say in reasonably recent iterations (like C++17) it's good enough, although OOTB Unicode is a PAIN. They should have solved it in C++11 and moved on. It's a disgrace.

Does Carbon or c++next fix the ootb handling?

It's being actively worked on for C++2x. This video is a fairly recent update on how it's progressing: https://www.youtube.com/watch?v=AoLl_ZZqyOk

Note for those who are not used to C++Now talks: they are intented to be a bit more informal with regular interjections from the audience (who at C++Now are also often heavily involved in the development of the C++ standard), so don't think people are being rude by jumping in!

Re: Modern C++ Programming Course

#67

I picked C++ back after a long break and I have to say in reasonably recent iterations (like C++17) it's good enough, although OOTB Unicode is a PAIN. They should have solved it in C++11 and moved on. It's a disgrace.

Hopefully it's really good in the near future. https://thephd.dev/cuneicode-and-the-future-of-text-in-c

Re: Modern C++ Programming Course

#68

I like to watch Formula 1 and NASCAR races. As interesting as seeing the cars pushing the limit of materials and mechanics is just as interesting seeing them crash. It shows the flip side of design. I wish this sunny-side tutorials had at the end of their books some black pages with the hall of horrors. Weird compilation messages and pointers getting demoted and random segfaults in real scenarios. We all remember the…

I’m quite fond of the C++ frequently Questioned Answers: https://yosefk.com/c++fqa/

Re: Modern C++ Programming Course

#69
post #44
post #5

Earlier quoted context omitted.

There is no modern C++ without the old C++. C++ is the success that it is exactly because it has been able to evolve with no shameful past to cancel.

I've had the misfortune of needing to fix the C++ from someone who neither knew nor cared what STL and smart pointers are.

I'm still trying to clean up the mess from someone who knew what STL and smart pointers were, and then made their own broken smart pointers (their version of shared_ptr has a particularly nasty bug).

Re: Modern C++ Programming Course

#70
post #13

Any ideas where to start learning C++ as an embedded developer? I wrote many lines of bare metal C code and want to transit to higher level jobs. I see many expensive or completely free courses, but I am not sure which one is usable in my complicated situation.

Well, you seem to be precisely the target audience for the course linked in this very post: > This open-access course is directed at those who are already familiar with C > and object-oriented programming towards a proficiency level of C++ > programming.

That doesn't address the constraints that are typical in embedded systems such as limited memory (RAM) and the expectation that a program will run forever.

There are resources oriented toward embedded C++ that address these (at least memory allocation.)

On a project a couple years ago I was pushing to use C++ instead of C, if only as a "C compiled using the C++ compiler" for better type checking. I could not convince the project lead, who's technical depth far exceeded mine, that the C++ compiler was as likely as the C compiler to produce correct translations.

Post reply on HN