Live data from Hacker News

Viewing profile — AnanasAttack

AnanasAttack

HN member
Joined
Fri, Jan 11, 2019, 11:20 AM UTC
HN karma
47
Public activity
21 items

About AnanasAttack

No profile information was provided.

Recent public activity

  1. comment
    Comment #27638015

    Correctly using a spinlock: Never when preemption is enabled

  2. comment
  3. comment
    Comment #23993291

    You can totally have memory barriers in macros. It doesn't have much to do with the language at all

  4. comment
    Comment #23717888

    I always feared sites would do things like this so I clear the clipboard/fill it with garbage after usage

  5. comment
    Comment #23617536

    People do whatever they can to "win" on these benchmarks, so the resulting code is often not idiomatic

  6. comment
    Comment #23414044

    It seems anything is newsworthy here when it's in Rust

  7. comment
    Comment #22177802

    The comment doesn't explain why there even is an offset in the first place. Who put it there and why? I think this should be explained as well

  8. comment
  9. comment
    Comment #22093634

    C++ coroutines are stackless

  10. comment
    Comment #21958960

    Thread scheduling (or waking up cores) is slow. Because of this, mutexes will look better on dumb benchmarks, as the contending threads keep going to sleep, while the single succes…

  11. comment
    Comment #21689709

    I can't be the only one who finds it cleaner to just use structs with state and pointers to them, than all such macro and typedef hackery

  12. comment
    Comment #21590597

    Only stød is unusual. It is written with a superscript glottal stop (ˀ) letter

  13. comment
    Comment #20250314

    I've been wondering about the impact of insturction cache misses and potential downsides of executable bloat caused by C++ templates, but have never seen a real case of this being …

  14. comment
    Comment #20137367

    How about infringing on a patent for inventing something independently without knowing it?

  15. comment
    Comment #20035996

    How is that naive or arrogant?

  16. comment
    Comment #19845034

    What do you dislike about edge triggered mode?

  17. comment
    Comment #19556606

    You're right: No fun is EVER allowed. Is that a smile on your face? Doesn't look very productive to me, now get back to work.

  18. comment
    Comment #19443048

    Not that unusual really. Whenever you hear about new stuff, chances are it's better to look it up on Wikipedia first.

  19. comment
    Comment #19178577

    >I'd much rather ... How can you be sure that the NSA is any better than the chinese?

  20. comment
    Comment #18882821

    I've seen points like these made before, but never really understood how. Can you give an example of self-modifying code becoming a security issue?

  21. comment
    Comment #18882650

    >Are there any languages that could actually make use of self modifying code? JIT languages already do this.