126 karma · joined September 1, 2019
WinRT is a mechanism to express APIs in a way that is amenable to cross-language usage. It is built on top of COM, and is not a replacement for COM.
See https://learn.microsoft.com/en-us/windows/win32/sbscs/creati...
“Activation contexts enable COM objects to be used without requiring that they be registered.”
I ended up realizing something was odd with the app and tried uninstalling/reinstalling the app to fix it. Which did in fact fix it (at least temporarily).
(This does not account for any complications such as the cost of that capacity or whether geothermal has other downtime to consider.)
We are seeing binary sizes increase by 30-50% just from enabling source location, even if we don’t want function_name. Sadly this means we need to turn it back off again and go back to __FILE__ and __LINE__.
I’ve only begun using it so my expertise is limited, but I think vcpkg aims to help with some of these difficulties by shipping code as source and then running make on dependencies so they are guaranteed ABI compatible because the same compiler builds everything.
in C++ cannot change after construction, but is not compile time constant. This means that it has to run some code and allocate some memory at runtime.
In contrast constexpr is fully compile time and ends up in the read only portion of the binary. No code code execution or allocations necessary.
That said, I think they are still very much worth it. Older asynchronous programming libraries in C++ are so verbose and so much worse than coroutines that it’s an obvious choice to use coroutines.
Also, there is another hazard that the author does not mention in this article: RAII lock wrappers. Holding a lock across suspension points is super dangerous. At best it wastes performance to leave it locked when blocked. At worst it can create deadlocks or corrupt the lock if it is released on a different thread than it was acquired.
October 2022 https://www.virtualbox.org/wiki/Changelog-7.0
October 2021 https://en.m.wikipedia.org/wiki/Windows_11
Whether those things matter to you, or not, is in the eye of the beholder.
I would call it the no booze hangover. Sometimes the symptoms would be like a mild hangover. You wake up with a headache, still tired, and a little bit of a “what happened last night?” vibe.
Except that “what happened last night” was drink plenty of water and go to bed at a reasonable hour.