126 karma · joined Sep 1, 2019 (7y ago) · 64 submissions
comment 1y ago · link · parent
comment 1y ago · link · parent
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.
comment 2y ago · link · parent
comment 2y ago · link · parent
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.”
comment 2y ago · link · parent
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).
comment 2y ago · link · parent
comment 2y ago · link · parent
(This does not account for any complications such as the cost of that capacity or whether geothermal has other downtime to consider.)
comment 3y ago · link · parent
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__.
comment 3y ago · link · parent
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.
18.
WinUI3 Source Available(github.com ↗)
4 points · by cshokie · 3y ago · discuss
comment 3y ago · link · parent
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.
comment 3y ago · link · parent
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.
comment 3y ago · link · parent
October 2022 https://www.virtualbox.org/wiki/Changelog-7.0
October 2021 https://en.m.wikipedia.org/wiki/Windows_11
comment 3y ago · link · parent
Whether those things matter to you, or not, is in the eye of the beholder.
comment 3y ago · link · parent
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.