/explore

Click through on any links that interest you or select the planets on the right to continue exploring the Outer Web.
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.
4.2 parsecs

Travel
| |
| | 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.
2.9 parsecs

Travel
| |
| | 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.
2.0 parsecs

Travel
| |
| | 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.
39.6 parsecs

Travel
|