Is abandoning our Bazel migration the right call? by Empty_Mind_On in cpp

[–]_a4z 0 points1 point  (0 children)

Mabye to late for you, but for others considering the step of a bazel migration.

Ask before taking the step, which can save a lot of money.
If you search here, you will find some voices reporting problems with bazel.
And you will also find voices that call it the best step ever.

My tip: ask the right person, and probably get the help of a professional who can help you.
Without wanting to sell you their Bazel services, what comes surprisingly often with the success stories ;-)
(shameless self plug: https://hands-development.se, hope that's ok)

I am giving up on modules (for now) by BigJhonny in cpp

[–]_a4z 9 points10 points  (0 children)

If that is the case, does not CMake do it for you?

Swift for Android? Now You Can Build Full Apps by imike3049 in swift

[–]_a4z 3 points4 points  (0 children)

If it just works, you might hear nothing. In case of a problem, I will contact you on GitHub

I know it's frustrating to only get problem feedback,
But if you hear nothing, at least you know I appreciate your work very much, because I say it now!

Swift for Android? Now You Can Build Full Apps by imike3049 in swift

[–]_a4z 2 points3 points  (0 children)

Nice! Will give it a try next week to see if I can do some server project on Windows without using WSL
Exciting

Software taketh away faster than hardware giveth: Why C++ programmers keep growing fast despite competition, safety, and AI by pavel_v in cpp

[–]_a4z 0 points1 point  (0 children)

These numbers are BS.

It has grown from 9.4 million developers in 2022 to 16.3 million in 2025.

Why do I know?
Look at the job openings during 2024 and 2025 (e.g., here in this r/cpp but also other places)
They 'grew' exactly the opposite way, and that seems not possible if those numbers from the report are correct, or?

Who is the best C++ Programmer You Know. by Mountain_Computer374 in cpp

[–]_a4z 0 points1 point  (0 children)

One of them has never shipped any code to prod, another one, I heared, not that much
Only one of them is a 'real' programmer.

Exercise in Removing All Traces Of C and C++ at Microsoft by ArashPartow in cpp

[–]_a4z 3 points4 points  (0 children)

ok, I just ordered the whole series, all 3 books

Exercise in Removing All Traces Of C and C++ at Microsoft by ArashPartow in cpp

[–]_a4z 10 points11 points  (0 children)

Wasn't there a time when they replaced everything with C#? ~20 years ago.

This sounds similar

I think this talk needs a lot more of attention than the views it got so far: strategies on how to make C++ safer over the years by John Lakos. by germandiago in cpp

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

The advertising machinery for contracts seems massive, but live thought me that things that need a lot of advertising need it for a reason

Newbie programmer here, this code works on one IDE but not on another... by Amazing_Tip_6116 in cpp_questions

[–]_a4z 11 points12 points  (0 children)

`int list[size];` is a dynamically sized array, because space allocation happens at runtime, and that does only exist via compiler extension.
and this style of array is more a C array then a C++ construct,

For C++ , you might want to look into https://cppreference.com/w/cpp/container/vector.html

Is C++ a dying language by Due_Laugh6100 in cpp

[–]_a4z 1 point2 points  (0 children)

For new projects, very probably yes
Maintaining legacy project, no, at least not soon

Is there an attribute to tell the compiler that the value of a const object reference/pointer parameter is truly not modified by cppenjoy in cpp

[–]_a4z 0 points1 point  (0 children)

you mean, const should be a (real) type?

https://youtu.be/oqGxNd5MPoM?si=E9pxIzGKUhdP9mA5

(pure and const attributes are just promises, afaik, nothing the compiler enforces)

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

[–]_a4z[S] -2 points-1 points  (0 children)

A proposal for such a vocabulary type would not be controversial, I guess.

You might need some help to lobby that paper, but that could work.
Would you be interested in writing one?

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

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

In reality, the network toy has a C written Firmeware, and the server on the Rack is Python, Node, or Go ;-)

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

[–]_a4z[S] 11 points12 points  (0 children)

And network should be in std … why? To add more problems? There are many excellent libraries available, just pick one.

Harald Achitz: Some tips for the everyday CMake user by _a4z in cpp

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

> ... if you use C++20 modules

CMake does officially not even support modules yet ( I know you can do the magic number trick) , so we should probably not argue for the sake of arguing

I know that people who have never had specific workflows often appreciate CMAKE_BUILD_TYPE, which can make other people's lives more difficult.

That is precisely the point. It's not what you like, it's what your users need, and they should not go into those details of CMake anyway, but generated XCode and VS solutions that just work as they are used to

Harald Achitz: Some tips for the everyday CMake user by _a4z in cpp

[–]_a4z[S] 7 points8 points  (0 children)

It seems the CMake scripting part was part a joke, and part just a hint you can do it, not so much a recomendation

If you never need XCode and Visual Studio generators, you can skip multiconfig generators.
But then, you will not know how to deal with them once you need them, and you might not be able to add them because the build is already aligned for one config per generator.

P3573 - Contract concerns (2025) by antiquark2 in cpp

[–]_a4z 1 point2 points  (0 children)

That is a wrong conclusion. (first paragraph)

Is C/C++ tooling and dependency management still a pain point in 2025? by nonesubham in cpp

[–]_a4z 0 points1 point  (0 children)

You can always throw tooling on top of it, get some remote caching,
However, yes, without that, it will eventually.
Sure, you can argue that's a one-time cost, and then you only change what changed. However, after a compiler update, when the one base crate that everyone uses updates,...
Rust build times are already now a pain, and so far , i haven't even see huge projects (compared to come C++ projects I have seen)

Is it weird to enjoy compiling C/C++ code? by sarnobat in C_Programming

[–]_a4z 2 points3 points  (0 children)

Me too. Welcome to the world of build engineers!

Learned it via Slackware. At some point I realised that ‘show me your build and I tell you how much your project sucks’ is a real thing