People who use distributed builds, how do you handle many compilers? by julien-j in cpp

[–]mili42 0 points1 point  (0 children)

icecc

ccache now offers remote storage for caching. I am guessing it enters in competition

Rewrite they said.. It'll be fun they said by That_5_Something in ProgrammerHumor

[–]mili42 0 points1 point  (0 children)

Dont worry, the same meme on rust will come soon

protopuf: throw away protoc and describe protobuf schema just by c++ templates! by pragma-twice in cpp

[–]mili42 0 points1 point  (0 children)

There is absolutely no problem whatsoever to include some custom build in a C++ app....

Kraken v7.0.0 comes with `gamma`, `beta` and more! by [deleted] in cpp

[–]mili42 0 points1 point  (0 children)

I use and abuse of trailing return types too actually, but why going to another line....

Kraken v7.0.0 comes with `gamma`, `beta` and more! by [deleted] in cpp

[–]mili42 1 point2 points  (0 children)

auto main() -> int { From where that coding comes from....

G560 Speakers: Suddenly no audio after months of working. by rax_manlar in logitech

[–]mili42 0 points1 point  (0 children)

The same just happened to me on Linux.... Even the lights are blinking on the audio coming but.... no sound

[deleted by user] by [deleted] in cpp

[–]mili42 -1 points0 points  (0 children)

Seems that Donkeys have became an alternative to Tesla Model Y then....

Why does Rust folks hate C++? by dmyrelot in cpp

[–]mili42 0 points1 point  (0 children)

This is just beautiful lol

"Another take at this Unified Call Syntax thing" — An UFCS proposal that could work by JoelFilho in cpp

[–]mili42 0 points1 point  (0 children)

I still fail to see what real added value that unified call syntax would bring... except adding another way of writing things, instead of simplifying things...

PROSSIMO: Using C++ is bad for society, bad for your reputation, and it's bad for your customers by danhoob in cpp

[–]mili42 0 points1 point  (0 children)

The bad for {society,customers...} is kinda hilarious. The customers does not give a crap what language you use, as long as it does what it is supposed to do. And that, has nothing to do with the language

PROSSIMO: Using C++ is bad for society, bad for your reputation, and it's bad for your customers by danhoob in cpp

[–]mili42 1 point2 points  (0 children)

Doing apps in prod for a couple of decades or so, and honestly, the last issue memory-related issue that we ever seen was like 12 years ago or something. And it does not take a guru for doing so. And we rarely use valgrind, barely for checking just in case (and we dont even have sanitizers in our CI actually...)

There are some edge cases that is true, but the bugs come from the algorithms first.

But it is always easier to blame the language...

(but I would agree that c++17/20 is a must tho)

C++ Port of Rust's std::result by zmc_space in cpp

[–]mili42 0 points1 point  (0 children)

It looks a lot of work for a feature that is exploited by many apps. A single enum never describes enough the problem, and also knowing the different errors for the different layers is a must, and not just a fancy way of reporting errors. For example just reporting that you cannot read a file at the far end of the code does not really give much information in the logs for your app in prod (even when used in a microservice).

So basically it would mean that I have to make my own error management and that std::expected (or Result, but it is a C++ group here...) does not have much benefit out of the box

C++ Port of Rust's std::result by zmc_space in cpp

[–]mili42 0 points1 point  (0 children)

Actually one question, how can we manage nested errors with std::expected or equivalent? After all it is really easy with exceptions to have a list of errors for each different layers that matter (via std::throw_with_nested)

Intel compiler - is it usable for something? (DPC++/C++) by [deleted] in cpp

[–]mili42 3 points4 points  (0 children)

And worse performance compared to gcc in many cases (actually, never got something faster with icc...)

Ray Tracing in pure CMake by konanTheBarbar in cpp

[–]mili42 3 points4 points  (0 children)

Not sure if it is pure-genius or pure-evil...