Live data from Hacker News

Viewing profile — liblfds-temp

liblfds-temp

HN member
Joined
Mon, Apr 24, 2023, 11:13 AM UTC
HN karma
25
Public activity
11 items

About liblfds-temp

No profile information was provided.

Recent public activity

  1. comment
    Comment #40412947

    Readability. C declarations can become unfriendly by being too complex and disordered.

  2. comment
    Comment #40412928

    > I can't point you to the exact working in the intel docs as they are quite messy, but you can implement a perfectly C++11 compliant SPSC queue purely with load and stores on x86 …

  3. comment
    Comment #40412911

    Mmm. Sort of the former, but really my thought was this : "you have a barrier, fine, but that does not mean once you hit/pass the barrier, all prior read/writes are complete - in f…

  4. comment
    Comment #40412895

    Declare all variables/qualifiers right-to-left. Read the type for all the below right-to-left, substituting the word "pointer" for "*". int long long unsigned wibble; // unsigned l…

  5. comment
    Comment #40352422

    > On a cc system, once a store is no longer speculative, it is guaranteed to be flushed out of the store buffer into the cache, That's the thing - I may be wrong, but I'm under the…

  6. comment
    Comment #40352411

    > You do not need a load barrier to observe stores from other cores. You need the load barrier so your own core does not reorder loads otherwise you could see wacky loads even if t…

  7. comment
    Comment #40352398

    > A barrier instruction forces all memory operations before it to complete before any memory operation after it can begin. That is, a barrier instruction effectively reinstates seq…

  8. comment
    Comment #40333003

    A thread which performs a write, has a fence, and then performs another write, will at the time of the second write due to the fence guarantee the first write has completed. Howeve…

  9. comment
    Comment #40332492

    > See how we added a new fence() call to put()? That fixes the reordering problem we’ve described at length. Now if the CPU gets bored waiting for entries[i] to be read into the ca…

  10. comment
    Comment #35689012

    I know Samy. CK is extremely well made.

  11. comment
    Comment #35686111

    I am the author of liblfds, a portable, license-free, lock-free data structure library written in C. I've been working on other projects for the last number of years, but I'm final…