/explore
|
You are here |
jlebar.com | ||
| | | | |
hellocplusplus.com
Learn the basics of C++ move semantics and how to use this language feature. This article is useful for programmers of all skill levels. |
|
| | | | | ||
| | | | |
blog.m-ou.se
Recently, gcc added support rvalue references for *this. (Clang has supported it for quite a while now.) In this post, I show how to use this feature, and how it means we can finally define accessors and a few other things like operator= correctly. |
|
| | | | | ||
| | | | |
www.thbecker.net
[AI summary] The article explains how C++11 rvalue references, reference collapsing rules, and std::forward enable perfect forwarding to preserve move semantics. |
|
| | | | | ||
| | | | |
andrewkelley.me
[AI summary] The blog post discusses the challenges and solutions for handling asynchronous I/O in Zig, focusing on cancellation, resource management, and concurrency. It highlights how cancellation is a key primitive for managing resources and avoiding leaks, while concurrency is essential for avoiding deadlocks in producer-consumer scenarios. The post also touches on the importance of using appropriate APIs like `concurrent` instead of `async` when true concurrency is needed, and the ongoing design work for stackless coroutines and I/O interfaces. |
|
| | | |||