/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

eyakubovich.github.io
| | www.cppstories.com

While learning how to use the new C++ Standard, I encountered several intriguing cases with smart pointers. Casting? Array handling? Passing to functions? Let's review some common concerns so that we don't shoot yourself in the foot :) I created this post back in 2013, and I updated it in 2014 and recently in 2021.
2.8 parsecs

Travel
| |
| | herbsutter.com

NOTE: Last year, I posted three new GotWs numbered #103-105. I decided leaving a gap in the numbers wasn't best after all, so I am renumbering them to #89-91 to continue the sequence. Here is the updated version of what was GotW #105. How should you prefer to pass smart pointers, and why? Problem JG...
5.6 parsecs

Travel
| |
| | articles.bchlr.de

[AI summary] The article discusses challenges and workarounds for upcasting trait objects in Rust, exploring the limitations of dynamic dispatch and potential solutions through vtable structures and custom trait implementations.
5.9 parsecs

Travel
| |
| | spacedimp.com

[AI summary] A beginner-friendly guide to overcoming the learning curve of Rust programming by exploring ownership, borrowing, and lifetimes.
22.8 parsecs

Travel
|