Live data from Hacker News

Viewing profile — gosu

gosu

HN member
Joined
Mon, Jun 11, 2012, 5:40 AM UTC
HN karma
265
Public activity
109 items

About gosu

No profile information was provided.

Recent public activity

  1. comment
    Comment #12110937

    How useful is a lock-free (not wait-free) approach in a real-time context? The point is that any thread contending on lock-free data is liable to starve, so the worst-case behavior…

  2. comment
    Comment #8613156

    Probably the fact that it eagerly coalesces newly freed blocks where high performance allocators like tcmalloc and jemalloc use slabs of fixed-sized blocks which are never coalesce…

  3. comment
    Comment #8613038

    You don't need to have a single frontier, and IIRC no one does these days. A stack of slabs per "arena" suffices, and the extra cost is only a read from a cacheline you'll soon nee…

  4. comment
    Comment #8453041

    I'm a very happy user. It's pretty well designed, and extensible in javascript. It's nice having EVERYTHING about the browser at your fingertips in fully customizable way, not just…

  5. comment
    Comment #8080207

    I suppose it was bound to happen.

  6. comment
  7. comment
    Comment #7801182

    By storing the struct in union with an integral type - or, if you need a value but not an address, casting to such a union. You might also think to just abuse pointer casting, but …

  8. comment
    Comment #7557462

    But, like you said, you still need protection of kernel data, which means that you need to execute kernel code on a stack not writeable by the user, at a greater permission level t…

  9. story
  10. comment
    Comment #7345221

    Well, I'd done a small kernel for a class. Later, I wrote a lockfree malloc and realized that large lockfree programs are actually pretty managable, and that was the start. It's ge…

  11. comment
    Comment #7313954

    Lockfree OS kernel. Give it a couple weeks.

  12. comment
    Comment #6997366

    For that price, I can buy 10 pairs of jeans on ebay, in a style that I like. Or I can go to the thrift store and get 50. I'll have wet ankles when I bike in the rain in a poncho, b…

  13. comment
    Comment #6644853

    CMU's got a fairly nice one. It guides students as they build a series of compilers for increasingly large subsets of C, effectively from scratch. Course materials are public, I be…

  14. comment
    Comment #6193983

    1) Math is way more than calculus. Writing proofs is the best way to train the general skills that will get you recognized as smart. 2) Stop being a coward. Always push yourself to…

  15. comment
    Comment #6170931

    It's true that, if you learn to enjoy CS-related work, it's thrilling and rewarding. You'll find dazzling solutions to interesting problems, and have a blast doing it. But as respe…

  16. comment
    Comment #6145759

    That's a really good (and horrific) image. Thanks.

  17. comment
    Comment #6138643

    facepalm What was happening is that I was trying to keep the mouse in the control strip, and it would go off the right side of the image. Thanks a lot, Josh. Edit: By the way, the …

  18. comment
    Comment #6138594

    This looks fantastic. Watching people's reactions in that example image was really interesting, and it occupied me for a good few minutes. "Why can't you do the same thing with vid…

  19. comment
    Comment #5962847

    > Why not? Obvious ethical considerations. I'm sick of living on the death star. It doesn't seem possible to me that any non-transparent organization with such capabilities will ev…

  20. comment
    Comment #5937626

    Snowden is a story too. As someone who considers him a hero, and one of the rare few who I can relate to, I'd like to know more about him views so that I can learn from him. That's…

  21. comment
    Comment #5909392

    Not if you compile via LLVM/clang.

  22. comment
    Comment #5909375

    The same party is already in control of the world's PCs and laptops - things everyone with an XBone will already use for many of their favorite illegal activities. What new danger …

  23. comment
    Comment #5905757

    Surely you must mean C**, which is the type of a thing which you can dereference twice to get C. Otherwise, you're dereferencing C twice, which gets you machine instructions, I gue…

  24. comment
    Comment #5878956

    What if, like the second best selling book ever, it takes almost a decade for the book to begin selling well? If books can cease to produce money just as their popularity begins to…

  25. comment
    Comment #5768592

    It's true that some governments have killed their own citizens unjustly and en masse. I don't think that my own government poses such a threat to me. If you're a US citizen who fee…