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 · #5209

C

C++ on a Friday

Personal blog · blog.knatten.orgprogramming

C++ on a Friday is a personal blog at blog.knatten.org about programming. Since 2012, 15 different Hacker News readers have linked it 25 times, most often “Lvalues, rvalues, glvalues, prvalues, xvalues, help (2018)”. It is still writing: the last post was on 2025-10-31, and you can follow it by feed.

Visit the blog
25mentions?
15HN people?
2012–2025first – last linked?
Links on Hacker News per year · peak 6 in 2019

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

Why HN links it

HN readers link this blog for its C++ explainers on value categories, such as why a prvalue is not a temporary and the five value types. Commenters cite it on move semantics and copying versus moving.

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

Most-linked posts?

  1. Lvalues, rvalues, glvalues, prvalues, xvalues, help (2018)
    5 people · 5 mentions · first linked 2018-03-09
  2. The type of char + char
    4 people · 4 mentions · first linked 2019-05-24
  3. NDC 2014 will have 13 C++ talks
    2 people · 2 mentions · first linked 2014-05-12
  4. A Taxonomy of C++ Types
    2 people · 2 mentions · first linked 2025-04-25

What Hacker News says?

  1. spacechild1 · 2025-11-06Recommends
    This is actually a very nice explanation! I also enjoyed the linked article about the 5 value types: https://blog.knatten.org/2018/03/09/lvalues-rvalues-glvalues... . For some reason I never bothered to look up these terms as they sounded so obscure. Turns out the taxonomy is pretty clear and it's just a refinement of the existing two value types (lvalues and rvalues). EDIT: I do think the naming is rather confusing…

    Comment linking /2018/03/09/lvalues-rvalues-glvalues-prvalues-xvalues-help/

    on “A prvalue is not a temporary”
  2. Submitted Lvalues, rvalues, glvalues, prvalues, xvalues, help (2018) as a story · 246 points

    HN discussion
  3. cjensen · 2025-11-06Recommends
    He has a good article on that at [1] But here's the gist: sometimes you have an object you want to copy, but then abandon the original. Maybe it's to return an object from a function. Maybe it's to insert the object into a larger structure. In these cases, copying can be expensive and it would be nice if you could just "raid" the original object to steal bits of it and construct the "copy" out of the raided bits. C+…

    Comment linking /2018/03/09/lvalues-rvalues-glvalues-prvalues-xvalues-help/

    on “A prvalue is not a temporary”
  4. Submitted The type of char + char as a story · 57 points

    HN discussion
  5. Submitted A prvalue is not a temporary as a story · 42 points

    HN discussion
  6. Submitted A prvalue is not a temporary as a story · 37 points

    HN discussion
  7. Submitted No-one knows the type of char + char as a story · 3 points

    HN discussion
  8. Submitted A Taxonomy of C++ Types as a story · 2 points

    HN discussion
  9. Submitted A Taxonomy of C++ Types as a story · 2 points

    HN discussion
  10. Submitted I Wrote a C++ Book as a story · 2 points

    HN discussion
  11. Submitted We probably shouldn’t have constexpr conditional operator as a story · 2 points

    HN discussion
  12. Submitted Microsoft C++ Versions Explained as a story · 2 points

    HN discussion
  13. Submitted No-one knows the type of char + char as a story · 2 points

    HN discussion
  14. Submitted C++ on a Friday: +“” as a story · 2 points

    HN discussion
  15. Submitted C++: lvalues, rvalues, glvalues, prvalues, xvalues, help as a story · 2 points

    HN discussion
  16. Submitted Another Reason to Avoid #includes in Headers as a story · 2 points

    HN discussion
  17. Submitted References don’t have top-level CV-qualifiers as a story · 1 points

    HN discussion
  18. Submitted The difference between no move constructor and a deleted move constructor as a story · 1 points

    HN discussion
  19. Submitted No one knows the type of char+char as a story · 1 points

    HN discussion
  20. Submitted No-one knows the type of char + char as a story · 1 points

    HN discussion
  21. Submitted Help save CppQuiz.org: We’re porting to C++17 as a story · 1 points

    HN discussion
  22. Submitted The best explanation of the C++ value categories as a story · 1 points

    HN discussion
  23. Submitted NDC 2014 will have 13 C++ talks as a story · 1 points

    HN discussion
  24. Submitted Very Strong C++ Track at the NDC Conference as a story · 1 points

    HN discussion
  25. Submitted How to avoid includes in headers as a story · 1 points

    HN discussion

Search all of HN for blog.knatten.org

Linked by the same people?