Gotcha: C++/WinRT weak_ref.get() doesn’t get the weak reference; it gets the strong reference
Источник: The Old New Thing
Источник: The Old New Thing
The Old New Thing
Gotcha: C++/WinRT weak_ref.get() doesn't get the weak reference; it gets the strong reference - The Old New Thing
If you have a winrt::com_ptr<T>, you can call the get() method to obtain the raw COM pointer inside it. This is handy if you need to pass that raw pointer along to another method that wants raw pointers. The winrt::weak_ref<T> also has a get() method,
[Перевод] Синхронные и асинхронные стектрейсы: опыт использования в Facebook
Источник: Habr
Автор: ph_piter
Источник: Habr
Автор: ph_piter
Хабр
Синхронные и асинхронные стектрейсы: опыт использования в Facebook
Здесь мы подробно поговорим о том, каковы технические отличия между реализацией асинхронных стектрейсов по сравнению с реализацией традиционных стектрейсов, а также с какими сложностями можно...
The case of the stack overflow exception when the stack is nowhere near overflowing
Источник: The Old New Thing
Источник: The Old New Thing
Microsoft News
The case of the stack overflow exception when the stack is nowhere near overflowing
There's a problem with the stack that prevents it from growing, so you could consider than an overflow.
Bringing Existing Code to CUDA Using constexpr and std::pmr - Bowie Owens - CppCon 2021
Источник: CppCon
Источник: CppCon
YouTube
Bringing Existing Code to CUDA Using constexpr and std::pmr - Bowie Owens - CppCon 2021
https://cppcon.org/
https://github.com/CppCon/CppCon2021
---
The options pricing library I work on at CSIRO is both computationally intensive and highly mathematical – a perfect fit for improving performance by moving calculations to the GPU. In this talk…
https://github.com/CppCon/CppCon2021
---
The options pricing library I work on at CSIRO is both computationally intensive and highly mathematical – a perfect fit for improving performance by moving calculations to the GPU. In this talk…
Какая стратегия освобождения памяти используется в C и С++ ядре PVS-Studio?
Источник: Habr
Автор: Andrey2008
Источник: Habr
Автор: Andrey2008
Хабр
Какая стратегия освобождения памяти используется в C и С++ ядре PVS-Studio?
Так получилось, что в различных обсуждениях мы уже несколько раз комментировали, как C и C++ модуль PVS-Studio работает с памятью. А раз так, пришло время оформить этот ответ в виде маленькой...