Lounge

by admin
Welcome to this board!
 
Welcome to the lounge forum in C++.com! In this forum, users can to talk about topics other than programming. Feel free to participate in a constructive and p...
[no replies]
Daily bit(e) of C++ | Optimizing code to run 87x faster
 
https://simontoth.substack.com/p/daily-bite-of-c-optimizing-code-to
[11 replies] Last: Ah, I misread. IDK. Good question. (by Duthomhas)
by helios
Bad Apple!!
 
I made a thing. https://www.youtube.com/watch?v=rt5VUOLRues https://github.com/Helios-vmg/spindafy Check out the video I linked in the description or it won'...
[7 replies] Last: I'm thinking a good strategy is to get a histogram of the selected pat... (by helios)
Understand internals of std::expected
 
https://www.cppstories.com/2024/expected-cpp23-internals/
[no replies]
Made the mistake of trying to help out at SO again.
 
I guess I’ll never learn. https://stackoverflow.com/questions/78396197/is-there-a-cleaner-way-to-write-this-c-code Closed as “opinion-based”. ...
[4 replies] Last: Then we can pull it all together in: main.c #include <iso646.h> #... (by Duthomhas)
UB in STL
 
It bugs me that parts of the Ranges library allows UB, or doesn't have bounds checking. Given the recent criticism of C++ being an "unsafe language", I wonder w...
[15 replies] Last: @Peter87 Thanks for your great post :+) I don't think I have ever us... (by TheIdeasMan)
I just cannot understand this driving behavior...
 
People where I live (NJ) are weird, but I’ve had this happen in places like NM too. Today I was coming home in my big ol’ pickup truck, and the neighborhoo...
[9 replies] Last: The other driver then came to a full and complete stop also. And just... (by George P)
What windows/gui library? (1,2,3)
 
What windows/gui library would you fellas recommend for someone starting out as their first entry? I know some SFML, but I am curious what you would have recomm...
[49 replies] Last: I never had a complete lockup, but very sluggish and either it taking ... (by SubZeroWins)
Finally switched to Linux Mint (1,2,3)
 
Got a new PC (finally) and since it is really nice, modern hardware I am finally making the move from Windows. I liked Windows 7. Very clean, good OS. Windo...
[44 replies] Last: I think the last time I actually had to reinstall an OS that I manag... (by Duthomhas)
by zapshe
I've been working an odd job
 
I've been doing this remote job where you train an AI. You give the AI a prompt, it does the code, you evaluate and critique the code if need be. Pays pretty we...
[5 replies] Last: app.dataannotation.tech There is a coding assessment you have to pass... (by zapshe)
Guidelines are not rules
 
See: https://arne-mertz.de/2024/03/core-guidelines-are-not-rules/
[9 replies] Last: There were rules? "There are rules, and then there are rules ."... (by George P)
Linux XZ Utils hacked
 
How one volunteer stopped a backdoor from exposing Linux systems worldwide https://www.theverge.com/2024/4/2/24119342/xz-utils-linux-backdoor-attempt This ...
[4 replies] Last: I thought the attack only targeted some of the enterprise-type server... (by keskiverto)
by Ganado
One thing I don't like about references in C++...
 
Let's say I'm searching through a codebase for "fooVar", because I want to see all the places that the fooVar variable gets set. I get line-item results like: ...
[11 replies] Last: Another thing I find myself using macros for more and more often is th... (by Duthomhas)
C++ Safety in Context
 
See: https://herbsutter.com/2024/03/11/safety-in-context/
[6 replies] Last: @keskiverto I posted because of the comedy of not agreeing about the ... (by TheIdeasMan)
Cools stuff I’m not gonna use
 
Heh, wanted to just do a simple string match — nothing fancy even, just has to test for an exact match in a small set of strings... There’re all kinds of...
[3 replies] Last: So, I’m looking over my old code and tweaking it to put up for all t... (by Duthomhas)
Program testing works... when you’ve enabled it...
 
Spent two hours trying to figure out why my X11 window wasn’t getting keyboard focus and input. It was. ...I had just turned off all my debugging output ...
[2 replies] Last: Heh, I told Windows to take a hike. I’m very happily running Linux ... (by Duthomhas)
git mv command
 
Hi.I hope it is ok to ask GIT questions here. I have a local directory - lets call it dir1, where i have couple of files, and commit history (in local and re...
[1 reply] : Is it truly "deleted"? man git-log mentions: --follow Continue l... (by keskiverto)
Where to get dictionaries for spellcheck during coding?
 
I'm coding in VSCode and use the extension called cSpell which let's me set custom dictionaries to spell check code, comments and any text in source files. P...
[7 replies] Last: You’re welcome. :O) (by Duthomhas)
by jonnin
moron in chief teams with M$ to diss C++
 
Looks like the US government wants to fix all our problems for us... brought to you by the same guy who thinks firing your shotgun thru the door at a unknown an...
[5 replies] Last: Governments are always trying to remove the innate ability of programm... (by seeplus)
Visual Studio 17.9 now available
 
Fair warning, to just install this update requires .NET Framework 4.7.2 or later. Boo!
[1 reply] : Oops! I forgot the release notes link: https://learn.microsoft.com/e... (by George P)
  Archived months: [mar2024]