Work in progress: 181,232 of 181,233 sites checked so far, more every week · updated 2 Nov 2026Missing a blog? Tell us

Top all-time · #5095

T

thbecker.net

Personal blog · thbecker.netprogrammingwriting

thbecker.net is a personal blog at thbecker.net about programming and writing. Since 2012, 15 different Hacker News readers have linked it 20 times, most often “C++ Rvalue References Explained”. No feed was found, so read it on the site itself.

No feed foundVisit the blog
20mentions?
15HN people?
2012–2023first – last linked?
Links on Hacker News per year · peak 5 in 2014

Too few sampled comments (8) to say how often HN recommends it.?

Why HN links it

HN readers link this blog for its multi-part C++ articles on rvalue references, covering move semantics, perfect forwarding and reference collapsing in C++11. Commenters cite individual sections as references.

Summarised by Claude from a sample of 8 HN comments that link here. Each comment is marked recommending, critical or neutral (citing without judging); how this works.

Most-linked posts?

  1. C++ Rvalue References Explained
    11 people · 11 mentions · first linked 2012-09-25
  2. /articles/rvalue_references/section_08.html
    2 people · 2 mentions · first linked 2015-05-17

What Hacker News says?

  1. The link that you provided does not have to do with malloc and/or free but with perfect forwarding: http://thbecker.net/articles/rvalue_references/section_07.ht... Also that example uses a Factory pattern which is actually verbosing the example, but it's like comparing apple and oranges since that's OOP which you actually wouldn't be doing in C. What you would be comparing is something like: mystruct * stcVar = mall…

    Comment linking /articles/rvalue_references/section_07.html

    on “Kore: a fast web server for writing web apps in C”
  2. Submitted OOP in JavaScript: A Tutorial for Those Who Are Accustomed to Classes as a story · 13 points

    HN discussion
  3. thanks for the recommendation. i think malloc and free are a lesser evil than this stuff: http://thbecker.net/articles/rvalue_references/section_08.ht... feel free to disagree!

    Comment linking /articles/rvalue_references/section_08.html

    on “Kore: a fast web server for writing web apps in C”
  4. Submitted C++ Rvalue References Explained as a story · 5 points

    HN discussion
  5. Author here. A few years back, I wrote an article about the issues that you're asking about. Since the article still comes up as the #1 result of Google search for "C++ rvalue references", I believe it's ok for me to recommend it here: http://thbecker.net/articles/rvalue_references/section_01.ht... Warning: Read only if you have a serious interest in C++.

    Comment linking /articles/rvalue_references/section_01.html

    on “C++ and the Culture of Complexity (2013)”
  6. Submitted Electronic Book Readers vs. Paper and Ink as a story · 3 points

    HN discussion
  7. Well currently I only work with C not C++ anymore so my knowledge might be outdated. I thought that the rvalue reference is something new in C++11, as I read it here: http://thbecker.net/articles/rvalue_references/section_01.ht... . Your article seems to mention different thing from 2008? In the article I read, a function returns a pointer that you can assign it like this: get_pointer() = 1;

    Comment linking /articles/rvalue_references/section_01.html

    on “Show HN: C/C++ Development Environment for Emacs”
  8. Submitted I didn't know that C++ auto and decltype were this tricky as a story · 3 points

    HN discussion
  9. I've looked at rvalue reference, and it seems to return an assignable pointer to do other thing from a function I'm not sure how you came to that conclusion, but it is not correct. R-values don't have much to do with pointers at all. Though they sometimes do solve problems you would be tempted to use pointers for. I admit I do find it hard to explain briefly what they are though. Maybe these are helpful, though it m…

    Comment linking /articles/rvalue_references/section_01.html

    on “Show HN: C/C++ Development Environment for Emacs”
  10. Submitted C++ Rvalue References Explained as a story · 2 points

    HN discussion
  11. C++ “move” semantics are simple, but they are still widely misunderstood. No, they aren't simple and the fact that are still widely misunderstood is basically proof of that. Maybe, just maybe, it has something to do with stuffing rvalue references, perfect forwarding and the whole universal-references-template-clusterfuck into one and the same syntax. [1] The default compiler-generated move can leave behind a null s…

    Comment linking /articles/rvalue_references/section_01.html

    on “Move, simply”
  12. Submitted C++ Rvalue References Explained (2013) as a story · 2 points

    HN discussion
  13. This is a great overview. However, in order to use the new C++11 features correctly and avoid pitfalls, one must dig a bit deeper. A good example is auto and decltype: http://thbecker.net/articles/auto_and_decltype/section_01.ht...

    Comment linking /articles/auto_and_decltype/section_01.html

    on “Rundown of the newest features in C++11 [pdf]”
  14. Submitted C++ Rvalue References Explained as a story · 2 points

    HN discussion
  15. shmerl · 2014-08-18Recommends
    C++11 has some tricky changes which are way not obvious at the first glance. A few useful resources I found: * http://thbecker.net/articles/rvalue_references/section_01.ht... * https://en.wikipedia.org/wiki/Copy_elision * http://en.cppreference.com/w/cpp/language/eval_order * https://akrzemi1.wordpress.com * https://dl.dropboxusercontent.com/u/13100941/C%2B%2B11.pdf Understanding the combination of copy elision and…

    Comment linking /articles/rvalue_references/section_01.html

    on “C++11/14 Idioms I Use Every Day”
  16. Submitted C++ Rvalue References Explained (2013) as a story · 1 points

    HN discussion
  17. Worth noting that int&& is not illegal in C++11 since it specifies an rvalue reference, essentially for efficient move operations. http://thbecker.net/articles/rvalue_references/section_03.ht...

    Comment linking /articles/rvalue_references/section_03.html

    on “How to interpret complex C/C++ declarations (2004)”
  18. Submitted C++ Rvalue References Explained as a story · 1 points

    HN discussion
  19. So far, I have done two mountain climbs in the footsteps of literary figures: Nabokov on Lone Peak in the Wasatch, and Jack Kerouac and Gary Snyder on Matterhorn Peak in the Sierra Nevada. http://thbecker.net/hiking/in_the_footsteps_of_jack_kerouac_... Does anybody know of more climbs or hikes that offer this kind of perk?

    Comment linking /hiking/in_the_footsteps_of_jack_kerouac_on_matterhorn_peak/page_01.html

    on “Nabokov in Utah”
  20. I think you're talking about perfect forwarding and reference collapsing rules [1, 2], introduced in C++11, but that is a bit different thing occurring only in a template instantiation context. Normally, you wouldn't see triple ampersands in sane C++ code, afaik. [1] http://thbecker.net/articles/rvalue_references/section_08.ht... [2] https://en.cppreference.com/w/cpp/language/reference

    Comment linking /articles/rvalue_references/section_08.html

    on “C++23’s Deducing this: what it is, why it is, how to use it”

Search all of HN for thbecker.net

Linked by the same people?