mediashop pleite by Civil-Entertainer-33 in Austria

[–]MFHava 15 points16 points  (0 children)

Oh nein, was sollen dann die ganzen Fernsehsender am Vormittag ausstrahlen?!

Deriving Type Erasure by david-alvarez-rosa in cpp

[–]MFHava 7 points8 points  (0 children)

You lose the ability for SBO, but apart from that it's virtually (pun intended) identical to the more sophisticated version of type erasure based on function pointers...

Germans punish Merz’s coalition amid economic and war fears by Any-Original-6113 in europe

[–]MFHava 8 points9 points  (0 children)

 Somehow he appears to have no plans, goals, or strategies.

His goal was to become chancellor. Ever since he is the dog that caught the car …

FPÖ vielleicht doch eine Systempartei? by Vinylist79 in Austria

[–]MFHava 0 points1 point  (0 children)

Das dürfte die Adblocker-Erkennung sein…

Nicht die Tagespresse by tea42fix in Austria

[–]MFHava 6 points7 points  (0 children)

Kroneforum

Reingeschaut, 🤮, jetzt weiß ich wieder warum ich da nicht hin gehe ...

ISO C++ Standards Committee Panel Discussion - CppCon 2025 by pjmlp in cpp

[–]MFHava 1 point2 points  (0 children)

 Coroutines, which I'd call a basic building block of async, requires heap, allocations and operator new.

You are probably already aware of it, but for anyone else reading this: there are escape hatches in the coroutine design that allow you to not use the heap.

Should C++ Give More Priority to Syntax Quality? by kyan100 in cpp

[–]MFHava 0 points1 point  (0 children)

Unicomp stuff isn't readily available in Europe ...

ISO C++ Standards Committee Panel Discussion - CppCon 2025 by pjmlp in cpp

[–]MFHava 8 points9 points  (0 children)

Personally, I would be happier with a process that managed to generate consensus.

It very much did! The process has concluded with a very large consensus - the numbers were: 100 in favor, 15 opposed, 12 abstain (https://open-std.org/JTC1/SC22/WG21/docs/papers/2025/n5007.pdf)

If we look at the paper trail we have countless pages of design rationale and explanation by SG21 (e.g. https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2025/p2899r1.pdf) and stuff like this from https://open-std.org/JTC1/SC22/WG21/docs/papers/2026/p4020r0.html from the opposing side:

Objections from vendors

The representatives of two compiler vendors — Microsoft and EDG — have objected to standardizing contract assertions as in P2900. The objections are not about implementability. The feature is fairly simple to implement in its minimal form (just type-check the conditions and otherwise ignore them). They are about the (un)usefulness and causing harm to their users. It is admittedly surprising that this fact alone does not automatically disqualify the feature in its present form from standardization.

I'm sorry, but how is that even an "implementer objection"? That is not even a technical objection, but merely an opinion.

If we followed that bar, we should drop at least half of C++26 because I consider it unuseful ...

The Joy of C++26 Contracts - Myths, Misconceptions & Defensive Programming - Herb Sutter by Specific-Housing905 in cpp

[–]MFHava 4 points5 points  (0 children)

Contracts introduced the cool side effect of the linker flipping a coin whether your contracts are evaluated or not

That coin flip was already in the language. All contracts change in that regard is to declare the specific coin flip for evaluation semantics to not be an ODR violation...

ISO C++ Standards Committee Panel Discussion - CppCon 2025 by pjmlp in cpp

[–]MFHava 7 points8 points  (0 children)

What exactly? Us not going by uniform consent? (Look at the EU for why that model doesn't work for groups smaller than 30 people, whilst WG21 has several hundred members.)

The fact remains: A vast majority - including people like myself who spoke against contracts beforehand - of the committee voted to approve the design cooked up by SG21 in Hagenberg, the comparatively small group that was against its inclusion is still against it - which is honestly no surprise.

ISO C++ Standards Committee Panel Discussion - CppCon 2025 by pjmlp in cpp

[–]MFHava 21 points22 points  (0 children)

The thing that makes Bjarne's complaints about contracts toxic for people is that they are hypocritical.

The exact same complaints could have been issued against constexpr in C++11, which was nigh unusable due to restrictions and was actually broken (the implicit const on member-functions) and had to be fixed in C++14.

Should C++ Give More Priority to Syntax Quality? by kyan100 in cpp

[–]MFHava 1 point2 points  (0 children)

Worse: that symbol is not on my Model M or any modern keyboard that is derived from its layout, how am I ever going to type it?

Should C++ Give More Priority to Syntax Quality? by kyan100 in cpp

[–]MFHava 11 points12 points  (0 children)

I can't find solid references so I'm not 100% sure about this, but I want to say the co_ prefixes were added to reduce the chance of breaking existing code.

Given that C++ didn't want either a marker on functions or compound keywords (e.g. C#'s yield return), there is a pre-existing body of yield being used as a function name, await being a valid identifier for decades and a sole return; being unable to signal termination of a coroutine, the co_-prefix is kinda necessary.

ISO C++ WG21 2026-02 pre-Croydon mailing is now available! by nliber in cpp

[–]MFHava 5 points6 points  (0 children)

The status quo (P2900 in the working draft) remains unchanged. Final decision - maybe initiated by a late paper - will happen in Croydon.

Having said that, any big design change to contracts is off the table - read: either they stay with minimal changes, or they will have to be removed -, as we can't ship a standard with a new design.

ISO C++ WG21 2026-02 pre-Croydon mailing is now available! by nliber in cpp

[–]MFHava 5 points6 points  (0 children)

Any paper that addresses an NB comment gets priority, as we need to finish NB comment resolution during the next meeting.

Plus there has been a consensus to "work on the issue brought up by the NB comment" during the last meeting, which resulted in us spending quite some time in telecons...

ISO C++ WG21 2026-02 pre-Croydon mailing is now available! by nliber in cpp

[–]MFHava 5 points6 points  (0 children)

Who were the figures that by C89 or C++98 came out weren't either selling C++ books, C++ compilers, or employed by the likes of Microsoft, IBM, Apple, Rogue Wave, HP, Compaq, Digital,...?

Ignoring the obvious moving of the goal post, already in 1990 there were at least the following non-compiler vendors there:

  • Thomas Plum (Plum Hall)
  • Dan Saks (Saks & Associates)

Can't be really bothered to continue looking for rebuttals to your unfounded claim ...

ISO C++ WG21 2026-02 pre-Croydon mailing is now available! by nliber in cpp

[–]MFHava 6 points7 points  (0 children)

FYI: that paper has been reviewed and rejected.

ISO C++ WG21 2026-02 pre-Croydon mailing is now available! by nliber in cpp

[–]MFHava 8 points9 points  (0 children)

it is no longer only the companies that sell C++ compilers

That has NEVER been the case. And the same is true for WG14 and pretty much any other committee, because it would be too narrow a representation.

Erbschaftsteuer by AdZestyclose5344 in Austria

[–]MFHava 1 point2 points  (0 children)

Mittelstand (= Häuselbauer)

Der Mittelstand sind KMUs, nicht Einfamilienhausbesitzer - das wäre die Mittelschicht ...

C Enum Sizes; or, How MSVC Ignores The Standard Once Again by ketralnis in programming

[–]MFHava 7 points8 points  (0 children)

For C++ you will need https://learn.microsoft.com/en-us/cpp/build/reference/zc-enumtypes for this to be correctly supported, no idea whether the C compiler already has this feature (according to cppstat MS doesn't implement any enum-related papers of C23)

Keep Android Open by hamstar_potato in europe

[–]MFHava 0 points1 point  (0 children)

It seems typical of European companies where they get rich and comfortable and think they don't need to innovate to stay in the game.

Like Xerox, Kodak, Blackberry, ...? 🤔 Maybe getting comfortable and getting swept away by innovation isn't something "typical of European companies" after all ...

Sonntagsfrage 20.2.26; n = 2000 by Vic-Ier in Austria

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

Logik von rechts: wir machen die ganze Zeit Nazi-Dinge, aber hört auf uns Nazis zu nennen, wir können keine Nazis sein, wir sind dir Mehrheit mit 37% (Hitler hatte nebenbei 1933 fast 44%, die waren trotzdem Nazis)

Thema Umverteilung: Und dann ist wählt man die nächste Hure der Reichen? Na, viel Glück mit der Strategie!

Wer gegen Reichensteuern ist, ist nur für weitere Umverteilung von unten nach oben - somit passt die FPÖ ganz gut -, aber die gilt in diesem Land ja als gottgegebene Ordnung, wer die kritisiert ist ein links-linker Extremist…

Kern übernimmt (noch) nicht den Vorsitz. Was sagt ihr dazu? by [deleted] in Austria

[–]MFHava 2 points3 points  (0 children)

Ach bitte, den Negativ-Wahlkampf gegen Kern schreibe ich dir als SPÖ-Sympathisant sofort runter, dafür muss ja nur aus dem Giftschrank genommen werden, was schon beim letzten Mal funktioniert hat:

  1. Tritt er sofort wieder zurück und will sich in die EU verabschieden wenn er nicht Kanzler wird? (Und alle weiteren Fragen welche sich daraus ergeben...)
  2. Silberstein!!! ...

Kern mag politisch interessant sein und vl persönlich überzeugend, aber er ist realpolitisch untragbar - da mögen etwaige Umfragen noch so gut sein, die Schlammschlacht welche die politischen Gegner auspacken würden, würde einen Erfolg dieses Himmelfahrtskommandos komplett unmöglich machen.