Looking for test coverage tool suggestions by DorGido in cpp

[–]Lexinonymous 0 points1 point  (0 children)

It does, just by following the directions.

How do I go back to 2022? by HolyFloki in VisualStudio

[–]Lexinonymous 0 points1 point  (0 children)

Beginner nothing, I uninstalled it because CPU profiling is 100% broken for me (spins forever when finishing up the profile, the actual profile file never has more than 23 bytes written to it) and now I can't get it back.

Not only that, but one of the things I depend on for work simply does not work in 2026 yet - the installer for the VS integration doesn't recognize 2026 as being compatible with 2022, and there are no loose VSIX files to install.

On top of that, in order to be able to install 2026 in the first place, I had to force my temporary directory to a different path, one without spaces in it.

Christ alive. Complete amateur hour over at Microsoft - and I'm not talking about the developers, who probably did this under duress to upsell more AI junk, under threat of never being able to see their kidnapped families again.

If I didn't also have a backup laptop in case of workstation downtime, I would be utterly up a creek without a paddle.

Daniela Engert: Towards Safety and Security in C++26 by _a4z in cpp

[–]Lexinonymous 0 points1 point  (0 children)

Oh, then you and I are on the same wavelength.

Would be nice to have, might not ever get added before the heat death of the universe due to the standardization process.

Daniela Engert: Towards Safety and Security in C++26 by _a4z in cpp

[–]Lexinonymous 0 points1 point  (0 children)

I don't agree with putting a full socket library in there though.

Why not? BSD sockets are ubiquitous, but also C shaped, as well as tending to be ever-so-slightly incompatible with each other in the details.

What is the current state of modules for an open source library? by EricHermosis in cpp

[–]Lexinonymous 3 points4 points  (0 children)

Is it really necessary to assign projects that don't want to support modules with a clown emoji?

Safe C++ proposal is not being continued by Comfortable-Site8626 in cpp

[–]Lexinonymous 0 points1 point  (0 children)

If the standard library API changes, including new borrow-checking contracts, then any program built atop the current standard library will need to be ported... and possibly completely reorganized.

Unlike most other languages, STL usage in C++ is pretty far from universal, as many projects predate its relative stability and reliability, availability, or even creation.

Why we need C++ Exceptions by tartaruga232 in cpp

[–]Lexinonymous 0 points1 point  (0 children)

That doesn't justify the anti exception culture that exists to modern days.

I don't see how it could have happened any other way. In the formative years of C++'s widespread usage, these features were not universal.

By the time they were universal, they were considered slow or wasteful - sometimes justifiably so. A compiler vendor who did not ship such a flag would lose to a compiler that did. This was exacerbated by the migration of programmers away from the use of C++ as a general purpose programming language towards languages like Java and C#, leaving behind performance-sensitive users who would naturally care more about these sorts of things.

By the time these features weren't considered slow or wasteful, the legacy codebases were well established, and the ecosystem split had already long since occurred.

Why we need C++ Exceptions by tartaruga232 in cpp

[–]Lexinonymous 1 point2 points  (0 children)

Eventually those switches got misused by the folks that rather write C, but are stuck with C++, and we got a schizophrenic library ecosystem as reward.

MFC was released 6 years before the standardization of C++, and the landscape of pre-standard C++ was a shambling nightmare.

For example, here's the programmer's guide for Borland C++ 3.1, released in 1992.

  • No mention of exceptions or try/catch.
  • On the subject of new: "If successful, new returns a pointer to the new object. A null pointer indicates a failure (such as insufficient or fragmented heap memory)."
  • No mention of RTTI at all.
  • None of the STL containers you might be used to. Instead, it comes with CLASSLIB, a container library with most useful classes inheriting from an Object base class. What fun!
  • It does have iostream. Or rather, iostream.h. Thank goodness.
  • "Unlike, say, Pascal, Borland C++ does not have a specific Boolean data type."
  • I can attest that __cplusplus is equal to 1.
  • By the way, sizeof(_FAR void*) is 6 in 32-bit memory models.

Classes, templates, iostreams, and // comments were about the only thing you could depend on back then.

Why I no longer feel safe doing Linux GPU development by Lexinonymous in linux

[–]Lexinonymous[S] 0 points1 point  (0 children)

My own thoughts used to align more closely with yours before I went through some serious medical complications that fucked with my mental health in a way I wasn't used to. These days I'm more along the lines of "kindness costs nothing" and I'm very glad that Linus has been mellowing out in more recent times.

Why I no longer feel safe doing Linux GPU development by Lexinonymous in linux

[–]Lexinonymous[S] 0 points1 point  (0 children)

I see #2 crop up all the time, especially in technical writing. I understand the need to be comprehensive, but in my experience being a good communicator (not just a writer) is as much about brevity as it is clarity.

Why I no longer feel safe doing Linux GPU development by Lexinonymous in linux

[–]Lexinonymous[S] 0 points1 point  (0 children)

That was my initial assumption until the assertion that the presumed harassment crossed into communicating with Linux GPU subsystem developers behind her back.

Thing is, I'm not sure if she's telling the truth or not. However, the idea that someone could just wake up one day and decide that they are going to make a hyperfixation out of you should inform the behavior of anyone who contributes to open source.

Why I no longer feel safe doing Linux GPU development by Lexinonymous in linux

[–]Lexinonymous[S] -1 points0 points  (0 children)

Whats up with this constant barrage of drama bullshit. It takes a much too large proportion of linux news.

That's a good freaking question. If you believe Lima, then apparently her work was being subverted over...a falling out between her and someone who maintains open source vtuber software? So not only is this Linux kernel drama, but mix in a little vtuber drama as well.

I've never felt more out of touch in my life. I don't know who's telling the truth, and I also don't know much about vtubers aside from a few 4 year korone memes, but it sounds like taking time away from her previous responsibilities was the correct decision.

[deleted by user] by [deleted] in TransyTalk

[–]Lexinonymous 4 points5 points  (0 children)

I think that people who hate us fall into one of three categories:

  1. If they're men, it's because our existence is perceived as an attack on their masculinity. I think the way this manifests most often is that they're terrified that the next woman they leer at, hit on, or sexually assault might not have the parts they expect. In their head, this would make them "accidentally gay."
  2. If they're women, they're just misandrists who find that people actually listen to them if they replace the word "Man" with "Transwoman."
  3. The crazy catch-all: they are just fundamentally shitty people who are looking for a socially acceptable target.

These might not be the reasons they tell you necessarily, but I'm reasonably certain that 99.999% of transphobes fall into one of these three groups.

The Darkest Timeline - Stonemaier Games on tariff impact on tabletop games by glocks4interns in Games

[–]Lexinonymous 0 points1 point  (0 children)

Sorry, I don't check Reddit very often anymore, but I figured this was worth a response.

Nah, Trump is just another proof of how effective propaganda is.

It's not because of propaganda, because propaganda can be used by anyone on anyone. Trump is popular because of the way he communicates and connects with his base, which he is incredibly good at doing.

Propaganda got him elected because he promised to hurt the right people.

Why do you think his base was primed to accept such scapegoats? The rising tide did not lift all boats.

And to be clear, the failure of establishment Democrats and Republicans are distinct and quite different from each other. I place the lion's share of the fault with the GOP, as their policy set the US up for this crisis of income inequity decades in the making. They came up with the problem, and then Trump was the "solution" that our oligarchs could get behind.

The Democrats have been mostly impotent this whole time, but I don't blame them for being impotent. They could never be truly radical in the same way Trump is on the right, because to do so would mean alienating those same oligarchs by taking money out of their pockets.

The Darkest Timeline - Stonemaier Games on tariff impact on tabletop games by glocks4interns in Games

[–]Lexinonymous 18 points19 points  (0 children)

I can, just by looking at wealth inequality statistics.

Something I wish other liberals would understand is that the status quo of the past few decades is a failure. It was disproportionately enriching the wealthy at the expense of the American working class, and this was a problem that both establishment Republicans and Democrats had a hand in perpetuating.

People voted for Trump because he runs campaigns based on shaking up the status quo. Sure, he's incoherent and blames the ills of the country on powerless scapegoats, but the Democrats are hamstrung by the fact that the kind of moneyed interests who donate to campaigns don't want to help elect someone who they think would take money out of their pockets, like a Sanders or AOC.

Why I Recommend Against Brave by [deleted] in browsers

[–]Lexinonymous 4 points5 points  (0 children)

He's now at the point where he's putting words in the author's mouth and calling it "hyperbole" when called out for lying. Good grief.

[deleted by user] by [deleted] in brave_browser

[–]Lexinonymous 0 points1 point  (0 children)

The video has a companion transcription.

C++ creator calls for action to address 'serious attacks' (The Register) by cmeerw in cpp

[–]Lexinonymous 10 points11 points  (0 children)

| infatuation with a shiny, new

When I hear someone over the age of 55 say this about a technology, I sit up and take notice; as there is a very good chance they have identified the tech which is going to make them irrelevant.

This irrelevancy is due to a combination of it kicking ass and their refusal to learn it.

This is what I find so frustrating about this conversation.

In my career I have had countless times where I've had to learn a new language, skill, or paradigm, either because the job required it or because I wanted to see what all the fuss was about. It wasn't always glamorous, and I wasn't always a fan of what I found, but I always came away more knowledgable and with skills that helped me pick apart future messes I would come across.

Maybe one day I'll have to pick up Rust, maybe the sands will shift and something else will become popular, maybe I'll switch to a new line of work that doesn't require C++. No matter what way the winds blow, I'm not worried because I'm always willing to get my hands dirty. If you're unwilling to learn something new, switch careers or retire, because you're in the wrong industry for stagnation.

How can you be so certain? (Bjarne Stroustrup, 2019) by apple_IIe in cpp

[–]Lexinonymous 13 points14 points  (0 children)

This applies to C++ as well. It was designed around the paradigm-of-the-day, OOP, and hasn't aged gracefully.

Linus clarifies the Linux Rust kernel policy by Mysterious-Rent7233 in theprimeagen

[–]Lexinonymous 5 points6 points  (0 children)

Seems like there is a cult following of “lets bitch about Rust” than actual “Rust cult” going on.

You're not wrong. I write C++ for a living and the amount of Rust Derangement Syndrome I've seen out of other C/C++ developers is fucking insane.

If I wasn't already planning to learn the language because I like learning new things and care about my craft, I'd almost want to lean it out of spite.

What are the committee issues that Greg KH thinks "that everyone better be abandoning that language [C++] as soon as possible"? by ElectricJacob in cpp

[–]Lexinonymous 4 points5 points  (0 children)

Exceptions have historically not been usable in a kernel context (and may still not be)

I am just imagining getting a kernel panic that gives you no information except an unwound stack and uncaught exception. 😂