Live data from Hacker News

Viewing profile — sprocketz

sprocketz

HN member
Joined
Wed, Sep 02, 2026, 1:00 PM UTC
HN karma
11
Public activity
4 items

About sprocketz

No profile information was provided.

Recent public activity

  1. comment
    Comment #49537214

    My little trick is to think of them as "oh, I accidentally made an lvalue from an actual rvalue here because a name was introduced, so I need to cast (i.e move() or forward()) back…

  2. comment
    Comment #49536106

    I figured any half decent compiler already do plenty of flow and liveness analysis on everything for register allocation, dead code elimination and what not. Maybe it's the guarant…

  3. comment
    Comment #49535620

    And the most important idea: destructive moves. Since C++ doesn't track lifetimes it has to leave the object in a "valid state" after a move and the destructor still runs which has…

  4. comment
    Comment #49535566

    What is that makes NVRO so much more difficult to implement? Why couldn't they mandate that just like RVO? Do compilers literally just special case a simple return statement of a d…