news.volyx.in

Modern C++ Programming Course (github.com)

493 points by asicsp · 998 days ago · 194 comments on HN

Article summary

The article presents a modern C++ programming course, which is an open-access course directed at those already familiar with C and object-oriented programming. The course covers the basics of C++ programming and moves on to advanced C++ semantics and concepts. It includes 29 lectures, 2000+ slides, and covers the latest language standard concepts and features. The course aims to provide a proficiency level of C++ programming.

Main themes

  • C++ programming course
  • learning C++
  • embedded systems
  • C++ features
  • STL and exceptions
  • templates and performance
  • career development

What commenters say

  • Learning C++ is not difficult, but it requires a good understanding of the language's features and how to use them effectively.
  • A good understanding of C is necessary to learn C++ effectively, as C++ is built on top of the C abstract machine.
  • The use of raw pointers in C++ is still relevant and useful, despite the existence of alternative features like smart pointers.
  • The C++ Standard Template Library (STL) may not be suitable for embedded systems due to its use of exceptions and potential bloat.
  • Templates are a useful feature in C++ that can help reduce code bloat and improve performance.
  • The use of C++ in embedded systems requires careful consideration of features like exceptions, virtual functions, and memory allocation.
  • Broadening one's skills to include other languages, like Python, may be more beneficial for career advancement than transitioning from C to C++.