Live data from Hacker News

Viewing profile — xorblurb

xorblurb

HN member
Joined
Tue, Oct 22, 2013, 10:41 AM UTC
HN karma
416
Public activity
229 items

About xorblurb

No profile information was provided.

Recent public activity

  1. comment
    Comment #17192862

    That's, given the question, is a really moronic answer. There are means to apply the modern approach of optimizations beyond O0 on C without importing all kind of UB from the langu…

  2. comment
    Comment #17192698

    Those kind of discussions have various effects, some of which I believe to be far from moot. First, they permit that some people even take notice about this situation. Few develope…

  3. comment
    Comment #17192629

    Could have been (should, in some -most?- cases) implementation defined.

  4. comment
    Comment #17192548

    Microbenchmark can be very misleading compared to real impact in real programs. Still, the gains allowed by UB of signed overflow (when you are lucky enough that this transformatio…

  5. comment
    Comment #17192431

    (Technically it is not really an overflow check the problem in that case, but typically more the need of extending an index from 32 to 64 bits because the instruction set in 64 bit…

  6. comment
    Comment #17192302

    Large pieces of sw have been able to switch some plateform specific code to other compilers (chrome for windows comes to mind). This is probably way smaller than the whole Windows,…

  7. comment
    Comment #17192207

    Sane compilers should do that. The standard should eventually specify that. But before it does, you can not write portable code that expect that (but hopefully once enough compiler…

  8. comment
    Comment #17192033

    Modern DMA is cache coherent (maybe except if you opt-out of it? I'm not even sure you can). It is still costly though.

  9. comment
    Comment #17191935

    It's also integrated to new instructions to flush things and wait for them to be made persistent.

  10. comment
    Comment #17191907

    I think you can still do non burst transactions and even set masks on byte granularity for writes. Classic processors probably don't do that, though.

  11. comment
    Comment #16783019

    VS2012 (I guess this was the compiler, maybe it has been upgraded after) had a quite limited support of C++ 11. Only starting with VS2015 (and then maybe even update 2 IIRC) we had…

  12. comment
    Comment #15206729

    This seems like an interesting book but a few points are dangerous, especially if it is used for teaching. 1. Concurrent access to a variable out of a critical section is qualified…

  13. comment
    Comment #15059902

    I will never ever buy the "we are forced to do evil things for the greater good" argument. Especially behind real inventors' back. You can't just dictate your own distorted ethical…

  14. comment
    Comment #15059837

    HN turns rabid, rightfully so. Even with so-called good motives, which are not even proven. And to be clear, in no way there can be a good motive here: their pledge is limited to F…

  15. comment
    Comment #15059749

    Of course if you can do that, it's really good. However, sometimes you need low latency.

  16. comment
    Comment #15057772

    That very page makes me think device drivers don't choose their DIRQL. Any more precise pointer to how they can do that?

  17. comment
    Comment #15055404

    Traditional NT personalities were about the mechanism details. Otherwise it is very current in operating systems to have a common kernel running different kind of userspace using d…

  18. comment
    Comment #15055361

    Needing to wake up usermode is not necessarily an insurmountable obstacle; under Linux you can use a PREEMPT config. Storming a network card having unwanted consequences can also b…

  19. comment
    Comment #15055325

    Windows does not really have interrupt priorities IIRC. It kind of sort of have some, but the applicative code (device driver included) can't chose at which level they run their IS…

  20. comment
    Comment #14961366

    Except WSL has little in common with traditional NT personalities. Traditional NT personalities were a false good idea, and have been a failure in the long term, especially to run …

  21. comment
    Comment #14949957

    I've seen some speculative inlining happening even without LTO (so obviously, in the same TU) with GCC.

  22. comment
    Comment #14949940

    For me, personally? I occasionally can write that kind of stuff.

  23. comment
    Comment #14949796

    I replaced my Thinkpad by an XPS15 with a small fear that I would regret the Thinkpad, and I absolutely not. Under Windows, the Dell software is far better than the one of Lenovo (…

  24. comment
    Comment #14881028

    > Unless there's an instruction you need that doesn't have an intrinsic or you're writing something like a spin lock where instruction ordering is critical and a compiler barrier f…

  25. comment
    Comment #14880981

    A virtual call on a modern processor is typically not very costly. Too much inlining, OTOH, can be (if it generates bloated code that trashes your cache)