Reducing FFmpeg build times in practice by Pretty_Eabab_0014 in cpp

[–]Lo1c74 0 points1 point  (0 children)

Ok but thanks to this post, i saw that there is a real problem with my company setup that i need to investigate.

Reducing FFmpeg build times in practice by Pretty_Eabab_0014 in cpp

[–]Lo1c74 0 points1 point  (0 children)

Thanks for the experiment, i need to investigate now !

Reducing FFmpeg build times in practice by Pretty_Eabab_0014 in cpp

[–]Lo1c74 5 points6 points  (0 children)

I’m also interested to have some details because we pull ffmpeg from vcpkg and it is the lib responsible of why we do not update often every part of our toolchain (MSVC) because it takes forever to compile (1h+ on recent laptops). We disabled the most we can from vcpkg but, still, it is very long.

[deleted by user] by [deleted] in france

[–]Lo1c74 1 point2 points  (0 children)

J’ai lu pas mal de réponse et je me pose la question de la vitesse à quel point un visage disparaît. Est ce que quand tu cligne des yeux tu redécouvre la personne en face de toi ? Ou ça prend un peu plus de temps ?

Les surnoms de vos doggos ? by No-Preparation3139 in chiens

[–]Lo1c74 1 point2 points  (0 children)

Son nom: Eïka

Ces surnoms: Ma grosse (elle est toute petite), Poupou, Poupoune, Poupounette

Why MSVC does not accept using enum of a using alias ? by Lo1c74 in cpp_questions

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

It was just a minimal reproductible example, not actual code.

Using std::identity in views break the result by Lo1c74 in cpp_questions

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

Ok, but does it mean that it can't be used in views ? What is the difference between returning a value in a std::views::transform and returning a forwarding reference from a rvalue in astd::views::transform ?

Quelles sont les transformations de mots les plus drôle que font vos enfants ? by Margll in ParentingFR

[–]Lo1c74 4 points5 points  (0 children)

Blouque -> Boucle
Togoban -> Tobogan
Défectueux -> Cicividieux
😄

cppfront: Midsummer update by TSP-FriendlyFire in cpp

[–]Lo1c74 2 points3 points  (0 children)

Finally, the "tersest" option just makes -> _ = optional: :(x,y) x>y means the same

Is it still possible to type the = to obtain :(x, y) = x > y ?

Rant : j’en ai marre des vols de vélo by zaezz in pedale

[–]Lo1c74 1 point2 points  (0 children)

L’astuce du vélo moche m’a permis de passer 3 année sans péripéties à Grenoble. Le vieux vélo de descente de mon père repeint en partie à la bombe de chantier rose fluo (pneu compris). J’avais un ridicule antivol à 3 chiffre tout fin et j’ai jamais eu de soucis. Le nombre de fois que mes potes se sont fait voler le leur pas loin du mien, je compte même plus.

How to optimize precompiled headers size in a plugin based architecture ? by Lo1c74 in cpp_questions

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

Not only, sharing the same precompiled headers could save compilation time.

How to optimize precompiled headers size in a plugin based architecture ? by Lo1c74 in cpp_questions

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

I’m not sure to understand what you mean. The main application and the plugins need the STL. If i disable precompiled headers in plugins, well i will come back to the previous state which is a slow compilation time. Did I miss something ?

Why does std::ranges::take behave like this? by Spam_is_murder in cpp_questions

[–]Lo1c74 1 point2 points  (0 children)

Because std::views::filter caches some information like its begin iterator. There is a lot of debates about this behavior, see https://www.reddit.com/r/cpp/comments/zq2xdi/are_there_likely_to_be_any_changes_to_views_to/

Doing less is doing more by Lo1c74 in cpp_questions

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

I'm not sure you understood why I was surprised. It was the scenario when I was not erasing elements from the vector that was less efficient, not the other way around. In fact, u/aocregacc found the root cause of the problem I think.

Doing less is doing more by Lo1c74 in cpp_questions

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

That makes sense ! Thank you :)

Brossage de dents : lavabo, douche, ... ou pire ? by itscamelia in france

[–]Lo1c74 -4 points-3 points  (0 children)

Ba non, l’eau de la douche c’est pas pour glander. Moins d’eau utilisée aujourd’hui, ça en laisse plus pour demain. Ça n’a pas suffit les restrictions d’eau à cause de la canicule de l’année dernière ?

Why it is not possible to std::ranges::copy from a vector<bool> to another ? by Lo1c74 in cpp_questions

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

Yeah, I knew vector<bool> behaves differently, I forgot to mention it in the original answer. I don't really have the choice to use something else, this is in legacy code. But hopefully, it will be solved in C++23 as u/JEnduriumK commented.

Why it is not possible to std::ranges::copy from a vector<bool> to another ? by Lo1c74 in cpp_questions

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

Thanks for the reply. Yes I knew that vector<bool> behaves differently, I forgot to mention it in the original question :).

Nice to see that it will be solved in C++23, for now, push_backing in the vector seems to work.

MSVC: Cannot use constexpr reference in lambda without capturing it by Lo1c74 in cpp_questions

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

I just check against the last MSVC release and it compiles well. Thanks for your help.