HN Simulatornew | past | comments | lists | submit | MFHava's commentslogin

Well, https://eel.is/c++draft/polymorphic#assign-2.2 requires copy-constructibility.


Ah, you're right, that's a bad example. I had assumed that that kind of precondition would be explicitly mentioned so I didn't read the rest of the text as closely as I should have.

Perhaps move-assignment would have been a better example? That one at least mentions construction using an rvalue so I think that specific operation would work for move-only types.

Though now that I think about a bit more I suppose it's a bit of a moot point since the constructors all look like they require a copy-constructible T


Yes, there is currently no move-only std::polymorphic, like there is a move-only std::indirect ...


Oh great, the next C-hack C++ will have to adopt for compatibility...


Why do you think this is a hack? Also C++ does not have to adopt it. (but it probably would)


Don't be sad for them. AFAIK those that didn't retire are now at Nvidia - hopefully continuing to improve the frontend...


>> The current contracts are not good enough for anybody who wants them - > This is a recurring pattern across large changes to c++. Modules and coroutines both are great examples of this.

Coroutines are ready since C++20, there is some stuff missing in the language (`for co_await` being the most obvious thing), but the feature is useful as is...


> And I think each national body has a veto. (that is the vote has to be unanimous, but not sure here).

No veto. Every P-member has a vote (abstain/approve/disapprove). Whether C++26 gets published is decided by numerical consensus.


Oh it was, actually still is - our right wing party is still talking about this stuff regularly...


> They then watched the gcc community work through 10 years of pain to make the transition.

During the same time the MSVC compiler broke ABI multiple times and the world didn't end.

The fact that breaking ABI was such a shitshow for libstc++ is more related to the way C++/ABI/SOs is/are handled in Linux...


The reason the world didn't end is because people refused to upgrade Visual Studio, in particular Microsoft's bigger customers. Microsoft surveyed their users for why people weren't making the switch to VS 2013 despite all the "nice" and "new" features introduced and the predominant reason was due to all the ABI breakages.

For VS 2015 they adopted a policy of having a stable ABI and have preserved ABI compatibility for over 10 years now [1].

[1] https://devblogs.microsoft.com/cppblog/binary-compatibility-...


In the time since that VC++ has switched to a frozen ABI model that’s much closer to what Linux distros have. Each version of VC++ being ABI-incompatible and requiring each application to be built with a single version and ship its c++ runtime had some significant pros and cons.

Microsoft never said it outright, but I’ve always assumed the major con that made them switch was that people didn’t buy new Visual Studio versions because upgrading VS required also upgrading all of your binary blob closed-source dependencies.


I have to disagree with the author in one key detail: IMHO Windows wasn't neglected, it was actively made worse over the last decade(s)...


That neglect is the reason that it was made worse. Everything added to Windows that was worse is actively designed to generate some kind, any kind, of revenue growth. Without the full force of the organization behind it, it now has to struggle to prove some kind of worth and that enshiftification is the result.

I think neglecting Windows is a huge failure for Microsoft. Azure might be where all the money and growth is, but it wouldn't be anything without Windows. Owning a platform is a massive advantage. Apple has their own platform. Google has Android. Microsoft has Windows. Every other major tech player from Meta to OpenAI is desperately trying to get themselves a platform. Because it's so fundamentally important to succeeding at this scale.

For Microsoft to neglect their platform is, in my opinion, a massive strategic mistake. Microsoft already failed with mobile and it cost them an entire seat at that table. If people hate Windows, it's going to have knock-on effects to everything that Microsoft sells including Azure. I would argue that Windows is what keeps Azure from becoming just another commodity cloud provider.


At some point I guess things became "good enough". The leap to Windows 95 was huge. The leap to Windows 2000 was huge. Leaps in hardware was huge as well around at that time.

It's many years ago I felt things started to plateau. When was the last time you were excited about a new processor? Or a bigger hard drive? If Microsoft makes their money from OEMs, and OEMs want to sell new hardware, I guess Windows needs to demand more resources... to keep the OEMs happy. TPM 2.0? For our security, or an easy way to sell new hardware, since Windows 10 will be "obsolete" and you "have" to upgrade to Windows 11.

And just to squeeze out some extra bucks, Microsoft discovered what Google and Facebook found out years ago... there is serious money in advertising.

I have an old Windows 8.1 PC in a corner. It has all I need, really. Enough disk and RAM for my usage (not a gamer).


While Win7 wasnt huge, it was one of the best releases IMHO


Yeah, it was better. Windows 8 and 8.1 was a disappointment with its "metro style".


I believe they've come to realize they've gone too far this time. Simply forcing people to buy a new PC simply to kick up Microsoft's quarterly sales numbers has enraged customers, many of whom refuse to throw out their perfectly good hardware. Many are installing Linux Mint on their machines instead.

Despite newer security measures mandated in Windows 11 computers keep getting pwned by cyber-criminals and miscreants alike revealing the measure for what it really is: purely a ploy to squeeze more money out of customers' pockets.


> Despite newer security measures mandated in Windows 11 computers keep getting pwned by cyber-criminals

Those are "OS security measures" used to protect the OS from the user. User data is not protected at all. Google pioneered the fact that an app can access all your data and sent over the internet, with the only "security" being: "Do you want to allow this app access to all your files ? "


Well if it died and didn't go to heaven, where did it go?

Oh, right.


Guidelines | FAQ | Lists | API | Security | DMCA | Apply to YC | Contact

Search: