Live data from Hacker News

Viewing profile — preshing

preshing

HN member
Joined
Thu, Aug 11, 2011, 1:02 PM UTC
HN karma
502
Public activity
26 items

About preshing

No profile information was provided.

Recent public activity

  1. comment
    Comment #23313903

    One example is in: https://github.com/arc80/plywood/blob/master/repos/plywood/s... Here, only one data member is meant to be serialized. The others members are there to accelerate …

  2. comment
    Comment #23313804

    The biggest advantage I find with runtime reflection it that it's possible to load and manipulate data that has no C++ definition at all. This is actually handy when working with 3…

  3. comment
    Comment #23312657

    Perhaps, but it's easily overlooked because every project that needs runtime reflection badly enough has already rolled their own. (Some game engines have multiple reflection syste…

  4. comment
    Comment #23312515

    This might come true some day, but it seems not in C++20 and in recent static reflection proposals there was no way to distinguish reflected from non-reflected members in the same …

  5. comment
    Comment #23312353

    It's the latter: A standalone framework that can be used by other projects. It's like a library (or suite of libraries) with separate modules for platform abstraction, containers, …

  6. comment
    Comment #11021703

    OK, I tweaked it a little bit.

  7. comment
    Comment #11020357

    Threads are not required to call QSBR::update at the same time. They can call it anytime, but they do need to call it.

  8. comment
    Comment #11020233

    I think you might be right. Maybe I should edit the post and not call it "more scalable", since I only have six cores to test on. But if it does top out at a higher core count, the…

  9. comment
    Comment #9214587

    > you've moved the fast path of the semaphore implementation into user space. I see now why your original comment was a bit inflammatory. I should have been more clear in the post …

  10. comment
    Comment #9213954

    If I implement the mutex as you suggest -- by using the native semaphore directly, with no separate counter -- the running time of "testBenaphore" increases from 375 ms to 3 second…

  11. comment
    Comment #7254007

    All the more reason to do our best to organize and share correct information about it.

  12. story
  13. comment
    Comment #4708954

    "The laws of mathematics." That's good! I've updated the previous post to use this wording, hope you don't mind :) http://preshing.com/20121025/heres-some-working-code-to-sort...

  14. comment
    Comment #4675256

    > It may just be poor wording, but I don't think this sentence makes sense I can see how you could might have interpreted that sentence differently. I just tweaked it a little in t…

  15. comment
    Comment #4333992

    Why does it matter whether Carmack likes JavaScript? If he doesn't like it, it won't vanish in a puff of smoke.

  16. story
  17. comment
    Comment #4101875

    There's no contradiction. Normally, the x86/64 memory model is quite strong, preserving LoadLoad, LoadStore, and StoreStore ordering. But doesn't preserve StoreLoad ordering; eg. s…

  18. comment
    Comment #4101442

    Based on your comment, I should probably be more precise and say: "the possibility of 'locking up' the entire application in some way". I'll update the post. There's nothing about …

  19. comment
    Comment #4101385

    I totally agree with you about the dangers of lock-free programming, and that every programmer will certainly make mistakes. I feel strongly enough about it that I actually wrote s…

  20. comment
    Comment #4100942

    Actually, I thought it was pretty clear in the article that it's not ok to use locks (mutexes) under the definition given. I tried pretty hard to use the most widely accepted defin…

  21. story
  22. comment
    Comment #3976993

    Actually, it's not because the PPU executes in-order, which has only to do with the way the CPU orders instructions internally and says nothing about memory ordering. For example, …

  23. comment
    Comment #3689163

    Nice! Looking forward to the video for this one.

  24. story
  25. comment
    Comment #3105271

    True, but there are two reasons for that! One is because I'm too cheap to pay the premium my web host demands for https. The other is because most of the entropy is calculated in y…