Thoughts?

?t=2124

Black Rifle Cuck Company, Conservative Humor Shirt $21.68

Yakub: World's Greatest Dad Shirt $21.68

Black Rifle Cuck Company, Conservative Humor Shirt $21.68

  1. 1 month ago
    Anonymous

    6 minutes of ranting to say he wanted reflection?
    are these the people everyone is so stoked about these days?

    • 1 month ago
      Anonymous

      You can do reflection in c/c++ via dlopen it just couples you to the OS (which you probably already were.)

      • 1 month ago
        Anonymous

        holy yikes. just cnile shit

      • 1 month ago
        Anonymous

        interesting, but reflection should allow you to get the list of members of a struct
        how would you do that with dynamic libraries?

  2. 1 month ago
    Anonymous

    he's right
    in Zig you can do this
    const v1: Vec3 = .{ .x = 10, .y = 10, .z = 10 };
    const v2: Vec3 = .{ .x = 10, .y = 10, .z = 10 };

    inline for (@typeInfo(Vec3).Struct.fields) |field| {
    if (@field(v1, field.name) != @field(v2, field.name))
    return false;
    }
    return true;

    • 1 month ago
      Anonymous

      why not just memcmp the whole struct?

      • 1 month ago
        Anonymous

        does the cpp standard guarantee that struct padding is zero-initialized?
        also doesn't work for strings etc

        • 1 month ago
          Anonymous

          no.

    • 1 month ago
      Anonymous

      shut up you fricking zigger ill NEVER use your godforsaken ziggerlicious language

  3. 1 month ago
    Anonymous

    I almost started watching the video but I noticed the channel. lol

  4. 1 month ago
    Anonymous

    so he starts off by acknowledging that he understands why an automatic operator== is complicated and doesn't blame the c++ committee for that.
    Then he basically goes to say he just wants reflection. Ok sure i want reflection too.

    However he phrases this issue as if the c++ committee is not understanding or being too moronic to do this when in reality they fully understand, they just explicitly have not implemented reflection yet.
    Its not a matter of incompetence like he says. Im sure if you talk to a c++ committee member they'll tell you why reflection is something they haven't tackled yet.

  5. 1 month ago
    Anonymous

    >Thoughts?
    Casey is a moron

    • 1 month ago
      Anonymous

      uh where is YOUR barely working grid of almost correctly lit squares with a movable 2d sprite characters that runs at 30fps and took you 5 fricking years to implement?

      yeah, thought so.

  6. 1 month ago
    Anonymous

    >his """solution"""
    How can one man be so moronic? You cannot just access members in a compiled language with no reflection moron. Somebody take this moron to the moron ward already

    • 1 month ago
      Anonymous

      This could easily be done at compile time

      • 1 month ago
        Anonymous

        No it shouldn't, moron. Rust does this and what does Rust have? 500 year long compile times that's what! That is why header files, object files and EVERYTHING C++ does is BRILLIANT. You will never understand

        • 1 month ago
          Anonymous

          You're right, Rust does do this - but it's not the reason why it's so slow to compile...

        • 1 month ago
          Anonymous

          >That is why header files, object files and EVERYTHING C++ does is BRILLIANT
          This homie ain't heard of modules yet?

        • 1 month ago
          Anonymous

          >Rust does this and what does Rust have? 500 year long compile times that's what!
          Poors' problems

          • 1 month ago
            Anonymous

            The only real problems

  7. 1 month ago
    Anonymous

    Default comparisons were added in C++20
    It's one line of code to compare two structs

  8. 1 month ago
    Anonymous

    >2024
    >10 year anniversary of handmade hero coming up
    >it's not even playable

Your email address will not be published. Required fields are marked *