64 pointsby KnuthIsGod10 hours ago3 comments
  • neko_ranger2 hours ago
    there are so many job listings for c++ in big tech, but it feels like it's hard to gain proper c++ experience without already being on those projects. it's sweet that those c++ systems are probably critical and actually do cool things, but if I wanted to be a c++ guy there, it's hard to get the experience without already being there I feel. c++ actually doesn't look too bad with RAII?

    but maybe it's a dying breed anyway, so I should just learn rust/go/zig/etc

    • portenderan hour ago
      To me, using a programming language that lets me manage memory on a problem where it was important to me (because constraints or performance or whatever) has always been eye opening. go feels like a different thing there, but I suppose cgo can get you into the realm.
    • nicoburnsan hour ago
      Learning Rust is probably onone of the more accessible ways to get this kind of experience. It won't teach you everything you'd need to know to write C++ professionally, but it teaches a lot of the it, including a lot of best practices that it's otherwise hard to learn outside of a professional environment.
  • captaincrowbar4 hours ago
    "This open-access course is directed at those who are already familiar with C and object-oriented programming" ... but not C++

    That's a very, very small target you're aiming at there.

    • grg04 hours ago
      Regardless, it is a very comprehensive review for C++ programmers, and even intermediate ones will probably see new material there.
    • actionfromafar3 hours ago
      "This open-access course is directed at those who are already familiar with very old C++ and object-oriented programming" ... but not modern C++

      Written this way, the target is bit larger.

  • bvrmn4 hours ago
    Another book tactically missing memory and ownership design for modern c++ apps. I think there is no more important topic for teaching. There are some slides in advanced sections but it's quite ironic one needs to know about it from the start!! Who owns memory? How to pass it? Move? Borrow? How to communicate it for readers? It's like a tribal knowledge.

    Every time I touch enterprise C++ codebase it's a freakshow heavily struggling with memory management.

    As reference the material could be good, as study it's very questionable.

    • shorsher2 hours ago
      Do you have any recommendations for books/materials that do include these topics? I've never used c++ professionally, but have been starting to learn it and would appreciate a modern reference on these items.