News for hackers. Stuff that matters.
Re:Simplest C++ Callback, from SumatraPDF by maleldil on Sunday June 15, 2025 @07:05PM (#44285541)
> You can't understand all internals, and that's perfectly fine.

C++ takes this to another level, though. I'm not an expert Go or Rust programmer, but it's much easier to understand the code in their standard libraries than C++.

Re:Simplest C++ Callback, from SumatraPDF by spacechild1 on Sunday June 15, 2025 @08:43PM (#44285901)
Fair enough :) Unfortunately, this is just something one has to accept as a C++ programmer. Should we roll our own std::vector because we can't understand the standard library implemention? The answer is, of course, a firm "no" (unless you have very special requirements).