problem with learncpp
hey so i recently visited the learn cpp website (I'm trying to get into coding) and there was just one massive comment that was spouting a load of hate speech. is this a normal thing for there or just someone being awful?
https://redd.it/1ox72jk
@r_cpp
hey so i recently visited the learn cpp website (I'm trying to get into coding) and there was just one massive comment that was spouting a load of hate speech. is this a normal thing for there or just someone being awful?
https://redd.it/1ox72jk
@r_cpp
Reddit
From the cpp community on Reddit
Explore this post and more from the cpp community
Transitioning from Java to C++
Hi,
At the very beginning of my career I wrote C for about 3 years and dabbled with some self learning in C++. I never wrote C++ professionally, but I would say that I had a good core understanding of the language. I then moved onto a different job which very quickly turned out to be 100% Java / J2EE. I've been here for 25 years now. Despite having spent almost my entire career writing it, I've never really loved Java.
Though I am still relatively young (mid 50s) and have plenty of energy, I am thinking of retiring early and maybe doing some contract work part time. I'd love to move back into C++, I know that the language has changed dramatically over the last two and a half decades and this would be a big lift, but I'm a quick learner and I'd be willing to dedicate several months working full time to learn the language / ecosystem.
To be clear, I'm not looking to lead some new giant C++ project; I'd be happy picking up some contract work doing maintenance. Can anyone suggest any particular books, courses, etc that they think would be appropriate for my position? The first time I did self study I used Bruce Eckel's Thinking in C++ which I liked a lot and still have. It may be though that the language has evolved so much that there'd be no point in going down that route again. Any suggestions?
https://redd.it/1ox8fwb
@r_cpp
Hi,
At the very beginning of my career I wrote C for about 3 years and dabbled with some self learning in C++. I never wrote C++ professionally, but I would say that I had a good core understanding of the language. I then moved onto a different job which very quickly turned out to be 100% Java / J2EE. I've been here for 25 years now. Despite having spent almost my entire career writing it, I've never really loved Java.
Though I am still relatively young (mid 50s) and have plenty of energy, I am thinking of retiring early and maybe doing some contract work part time. I'd love to move back into C++, I know that the language has changed dramatically over the last two and a half decades and this would be a big lift, but I'm a quick learner and I'd be willing to dedicate several months working full time to learn the language / ecosystem.
To be clear, I'm not looking to lead some new giant C++ project; I'd be happy picking up some contract work doing maintenance. Can anyone suggest any particular books, courses, etc that they think would be appropriate for my position? The first time I did self study I used Bruce Eckel's Thinking in C++ which I liked a lot and still have. It may be though that the language has evolved so much that there'd be no point in going down that route again. Any suggestions?
https://redd.it/1ox8fwb
@r_cpp
Reddit
From the cpp community on Reddit
Explore this post and more from the cpp community
A new version of the gf debugger frontend (linux)
The
Mostly it worked great, but there were some things that bugged me, mostly missing functionality, so I started hacking at it on my free time. It was really nice to be able to fix something, and enjoy using it immediately. See this page for a list of improvements.
My repo can be found here. You can either build the
https://redd.it/1ox9rby
@r_cpp
The
gf debugger frontend as written by nakst is a pretty cool piece of software. I started using it daily a couple of years ago.Mostly it worked great, but there were some things that bugged me, mostly missing functionality, so I started hacking at it on my free time. It was really nice to be able to fix something, and enjoy using it immediately. See this page for a list of improvements.
My repo can be found here. You can either build the
gf executable yourself using cmake, or use the latest release includes a pre-built executable which should run on any modern linux. The gf executable is standalone and can just be copied into any bin directory on your path. Let me know what you think!https://redd.it/1ox9rby
@r_cpp
GitHub
gf/doc/improvements.md at main · greg7mdp/gf
Contribute to greg7mdp/gf development by creating an account on GitHub.
Yet another modules question
Hi all,
Hate to post yet another question on C++20 modules, but none of the existing discussions relate to my dilemma - and I figured I may not be the only one struggling to make a decision here.
So, recently I started a new C++ side project, wanting to make something fun (a desktop GeoGuessr-like game, if anyone’s curious) while learning some new things. A new project doesn’t restrict me with any tech debt, so I just thought it would be nice to use a thing or two from C++20/23. After implementing some basic functionalities, it crossed my mind that in newest standards the modules were introduced as a new way of dividing functionalities across multiple units. Knowing nothing about them (I currently use C++17 at work), I started some research… and it turns out that a lot of people just hate them.
Now, my question to the Community is quite simple: in a brand new C++20/23 project, is it nowadays worth to learn module shenanigans and use them instead of good old header includes? If not as of today, would it be a sane decision in a couple of years?
I don’t care about compilation performance in this case, because it’s a new project (and will probably never become large enough for this to ever be a serious issue). I like the “better encapsulation” slogan, but in the same time… I love headers. Thinking of a repo consisting solely of source files makes me want to throw up, because headers are the thing that make it so much easier to quickly go through the public interface of a unit. I’d gladly retain the old style, but I also want to stay up-to-date with the newest (recommended!) practices, hence my question.
P.S. it’s my first post on the forum, even though I’ve been a silent reader for a while now. Huge respect to all of you guys for making this forum a truly remarkable place to learn and share knowledge!
https://redd.it/1ox7psc
@r_cpp
Hi all,
Hate to post yet another question on C++20 modules, but none of the existing discussions relate to my dilemma - and I figured I may not be the only one struggling to make a decision here.
So, recently I started a new C++ side project, wanting to make something fun (a desktop GeoGuessr-like game, if anyone’s curious) while learning some new things. A new project doesn’t restrict me with any tech debt, so I just thought it would be nice to use a thing or two from C++20/23. After implementing some basic functionalities, it crossed my mind that in newest standards the modules were introduced as a new way of dividing functionalities across multiple units. Knowing nothing about them (I currently use C++17 at work), I started some research… and it turns out that a lot of people just hate them.
Now, my question to the Community is quite simple: in a brand new C++20/23 project, is it nowadays worth to learn module shenanigans and use them instead of good old header includes? If not as of today, would it be a sane decision in a couple of years?
I don’t care about compilation performance in this case, because it’s a new project (and will probably never become large enough for this to ever be a serious issue). I like the “better encapsulation” slogan, but in the same time… I love headers. Thinking of a repo consisting solely of source files makes me want to throw up, because headers are the thing that make it so much easier to quickly go through the public interface of a unit. I’d gladly retain the old style, but I also want to stay up-to-date with the newest (recommended!) practices, hence my question.
P.S. it’s my first post on the forum, even though I’ve been a silent reader for a while now. Huge respect to all of you guys for making this forum a truly remarkable place to learn and share knowledge!
https://redd.it/1ox7psc
@r_cpp
Reddit
From the cpp community on Reddit
Explore this post and more from the cpp community
reflection is coming to GCC sooner than excepted
https://gcc.gnu.org/pipermail/gcc-patches/2025-November/700733.html
https://redd.it/1oxgv6n
@r_cpp
https://gcc.gnu.org/pipermail/gcc-patches/2025-November/700733.html
https://redd.it/1oxgv6n
@r_cpp
Auto-vectorizing operations on buffers of unknown length
https://nicula.xyz/2025/11/15/vectorizing-unknown-length-loops.html
https://redd.it/1oxvd5i
@r_cpp
https://nicula.xyz/2025/11/15/vectorizing-unknown-length-loops.html
https://redd.it/1oxvd5i
@r_cpp
C or C++ for my needs?
Hey all, not really sure if this is the right place for this type of question. But I've been self study coding for the past year and feel like I'm making headway in computer concepts. I was always tech savvy, when I was 13 my friend and I would make random programs (and infinite window programs) in Java. I stopped for a really long time and started back up learning coding last year 16 years later (I know really bad timing). I started with JS/TS and llfound myself not really attracted to web dev so about 6 months ago I started learning Rust. I really like rust and at least for me without real baggage in other languages the compiler never really bothered me. I finished the Rust Book and everything.
I made a few basic things but realized that Rust feels like it doesn't really make sense. It doesnt really do good at making gui apps. It's cumbersome in making web stuff ( I dabbled in Go when I was doing web dev stuff) and would rather just learn Go for those uses. In terms of what I'd like to learn about and my interests are in, systems stuff OS' tinkering with IoT, hell even homelab. I'd love to make this for use on a raspberry pi to do tinkering things to further my interests in doing that type of stuff. Rust trades it's robust benefits for Going unsafe. Ilmaybe I'm ignorant but that defeats the purpose of rust based on my readings from their own docs.
Which language is more profitable for a tinkerer and learn that wants to do low level stuff and have the ability to MAYBE be hirable in a few years of grinding and learning. I don't have 6 figure dreams just to build cool shit and have some sort of potential pay off if I go hard enough.
C and CPP are the ones everyone talks about but I can't really get clear and concise advice on which to actually learn. I'll be partnering it with Go to maximize my reach through concepts so if my interests change I'm not SoL.
TLDR; tried learning Rust found that it was almost always not the best answer for the things I'm interested in, want to learn C or CPP but don't really understand whic
Hey all, not really sure if this is the right place for this type of question. But I've been self study coding for the past year and feel like I'm making headway in computer concepts. I was always tech savvy, when I was 13 my friend and I would make random programs (and infinite window programs) in Java. I stopped for a really long time and started back up learning coding last year 16 years later (I know really bad timing). I started with JS/TS and llfound myself not really attracted to web dev so about 6 months ago I started learning Rust. I really like rust and at least for me without real baggage in other languages the compiler never really bothered me. I finished the Rust Book and everything.
I made a few basic things but realized that Rust feels like it doesn't really make sense. It doesnt really do good at making gui apps. It's cumbersome in making web stuff ( I dabbled in Go when I was doing web dev stuff) and would rather just learn Go for those uses. In terms of what I'd like to learn about and my interests are in, systems stuff OS' tinkering with IoT, hell even homelab. I'd love to make this for use on a raspberry pi to do tinkering things to further my interests in doing that type of stuff. Rust trades it's robust benefits for Going unsafe. Ilmaybe I'm ignorant but that defeats the purpose of rust based on my readings from their own docs.
Which language is more profitable for a tinkerer and learn that wants to do low level stuff and have the ability to MAYBE be hirable in a few years of grinding and learning. I don't have 6 figure dreams just to build cool shit and have some sort of potential pay off if I go hard enough.
C and CPP are the ones everyone talks about but I can't really get clear and concise advice on which to actually learn. I'll be partnering it with Go to maximize my reach through concepts so if my interests change I'm not SoL.
TLDR; tried learning Rust found that it was almost always not the best answer for the things I'm interested in, want to learn C or CPP but don't really understand whic