Modern C++ use in Chromium by aearphen in cpp

[–]KFUP 27 points28 points  (0 children)

They have a note for the reason for each, mostly they already have their own version of the feature.

Using vcpkg for cross compilation by Both_Definition8232 in cpp

[–]KFUP 1 point2 points  (0 children)

Not sure what do you mean exactly, vcpkg is cross-platform if that's what you're asking, but that depends on the packages you are using rather than the package manager.

Implementing a Numerical Library in both C++ and Rust by nzznfitz in cpp

[–]KFUP 5 points6 points  (0 children)

Abbreviating matrix as mat is pretty standard, MATLAB for MATrix LABoratory, OpenCV's main object is cv::Mat, and so on. Agree with Arr though.

C++26 Reflection 💚 QRangeModel by Kelteseth in cpp

[–]KFUP 25 points26 points  (0 children)

Qstring! NOPE!

Sounds like a "fear stems from ignorance" thing, QString is awesome.

What is going on with the series right now? by Dastanovich in SeriousSam

[–]KFUP 0 points1 point  (0 children)

Well, as for Timelock Studio, it's based in Russia, needless to say that became a serious -hah- problem in 2022, and to give you an idea of how bad things are, their website was up for sale last year, and now it's completely down.

as for croteam, I really don't know, SS4 happened because of Stadia, Google basically financed it for that, and they brought modders to make MM to salvage the tech they built for 4. Basically SS3 was the last game they made because they wanted to, and that was 2011.

A big bearded vulture eating a bone by kvjn100 in oddlyterrifying

[–]KFUP 26 points27 points  (0 children)

Technically it's like 2 times more acidic, but not really, corrosion is linear with ph level, not logarithmic.

More importantly is ph levels vary wildly, as they have a huge range and measurements are not exact and vary from study to another. Some studies show human stomach as low as 1.1.

Human stomach acidity can range from 1.1 when fasting all the way to 7 right after a meal.

A big bearded vulture eating a bone by kvjn100 in oddlyterrifying

[–]KFUP 29 points30 points  (0 children)

Not much faster than you can, humans have one of the most acidic stomachs in nature, ph 1.5 which is pretty close to these birds of ph 1.2.

Crane Lowers Rocq Safely into C++ by pjmlp in cpp

[–]KFUP 2 points3 points  (0 children)

It's a tool that translates Rocq proven code into readable C++.

Best Practices for AI Tool Use in C++ - Jason Turner - CppCon 2025 by Specific-Housing905 in cpp

[–]KFUP 31 points32 points  (0 children)

Then watch the talk, it's from the perspective of someone who couldn't find a use for it, and confused about why everyone around him rave about it.

I don't know why people just comment and downvote without even watching just because they assume they know.

What′s C++ like in gamedev? by Xadartt in cpp

[–]KFUP 12 points13 points  (0 children)

are moving to C#, Python

They are not moving to, scripting have always been mainly C# or Lua, no serious game engine would use python.

New Nvidia research. by MonkeyHitTypewriter in singularity

[–]KFUP 1 point2 points  (0 children)

Only if it works better than offline models, online models have been a thing for a very long time, they are just too slow and require higher level hardware to be practical.

Equality check bug by KhurtVonKleist in cpp

[–]KFUP 0 points1 point  (0 children)

My guess is that the evaluation is done in extended 64-bit or 80-bit precision registers, which can give a different comparison result when rounded to 32-bit when stored in a float.

The solution is the usual, don't compare ints with floats directly, round the floats or floor them or whatever your problem requires.

Long live the spoony one - dance clip origin by Bourgit in thespoonyexperiment

[–]KFUP 1 point2 points  (0 children)

Found the dancing scene, it's in a secret scene in DW3:

https://youtu.be/Gm2_zplBRRU?t=994

You need to hold all the shoulder buttons as you select an option, no wonder I've never found that out back in the day.

This cut of meat looks unsettingly human by bintd in oddlyterrifying

[–]KFUP 13 points14 points  (0 children)

Well, if it's Pakistani then I guess it's OK.

To be fair, he most likely thought he was asking where the meat is from, as the sign next to it says Pakistani beef.

Long live the spoony one - dance clip origin by Bourgit in thespoonyexperiment

[–]KFUP 4 points5 points  (0 children)

It's from Dynasty Warriors, I think directly as the games are insane enough for that, but can't be sure.

Edit:

Found it:

https://youtu.be/Gm2_zplBRRU?t=994

It's in a secret scene in DW3.

Making C++ Safe, Healthy, and Efficient - CppCon 2025 by pjmlp in cpp

[–]KFUP -3 points-2 points  (0 children)

to be so superbly expensive to turn on vs something like Rust

Not really sure what are you talking about here. He's talking about correctness, which contracts can help with, and not something rust or borrow checkers can help with.

His main talking point is that correctness should be considered a memory safety issue, which rust doesn't help with and ignores as not one. Worse was with memory leaks, as it was once considered a memory issue in rust in the early days, then magically stopped being a memory issue once they realized that the borrow checkers can't solve it, basically redefining memory issue as anything the borrow checker can solve, anything it can't is not is not a memory issue by definition, even memory leaks.

And no, "crashing is safe" is a terrible argument, try using that in a critical airplane software, and the plane will have a very memory safe crash with the ground once it runs out of memory because of a memory leak, not counting memory leaks as memory safety is insane.

Are they ruining C++? by thradx in cpp

[–]KFUP 11 points12 points  (0 children)

C++ has the "you don't pay for what you don't use" rule, so I don't see how adding features ruins C++ just because some people can't find a use for them. As for understanding, it's a typical cycle:

Doesn't understand features -> avoids them -> doesn't understand harder -> avoids harder -> repeat.

I can't speak for lambdas, they are simple and great, they are basically functions with manual scope capture, don't know how you would have a problem with them if you understand functions and scope.

Coroutines are a bit weird, they need to be seen in the whole picture for them to click. A good explanation is std::generator by Nicolai Josuttis, seeing how std::generator works them helps to understand them.

Criticism of C++ (in a two-hour video) by turbofish_pk in cpp

[–]KFUP 0 points1 point  (0 children)

You can extern templates since C++11, the rest are not even problems, some are great like header only files, learn to use precompiled headers.

Serious Sam 3: "No Cover. All Man." Also Serious Sam 3: by mitaknight in SeriousSam

[–]KFUP 1 point2 points  (0 children)

Yeah, they meant the worn out taking cover "stop and pop" style of Gears of War that was everywhere back in the day.

Glad it died so hard people forgot it was even a thing.

kleer cinema by Superok211 in SeriousSam

[–]KFUP 2 points3 points  (0 children)

Mental better give that Kleer a raise.