logoalt Hacker News

Modern C++ Programming: Busato

86 pointsby KnuthIsGodyesterday at 4:40 PM19 commentsview on HN

Comments

bvrmnyesterday at 10:49 PM

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.

show 2 replies
neko_rangertoday at 12:13 AM

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

show 5 replies
captaincrowbaryesterday at 10:20 PM

"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.

show 2 replies
koala-newstoday at 8:48 AM

Ha, why another programming language? I thought we wouldn't need to learn these in the AI era.

show 1 reply