Live data from Hacker News

Viewing profile — e4m2

e4m2

HN member
Joined
Sun, Jun 12, 2022, 8:54 PM UTC
HN karma
285
Public activity
67 items

About e4m2

No profile information was provided.

Recent public activity

  1. comment
    Comment #49019195

    FYI you linked to a really old version of the GCC documentation. Google apparently loves those old docs, so they often show up near the top of search results despite being ancient.…

  2. comment
    Comment #49019116

    Historically, it was a bit more complex than that, and applies to more than just AVX-512: https://gist.github.com/rygorous/32bc3ea8301dba09358fd2c64e0... .

  3. comment
    Comment #48446063

    Zig vectors do not necessarily force data into SIMD registers; a scalar implementation would work equally well. This is not just a theoretical argument, because Zig code that uses …

  4. comment
    Comment #45452665

    It's not designed for IoT devices per se, the naming is just terrible. A comparison to OpenWrt is not warranted here, although to reiterate, the naming is terrible.

  5. comment
    Comment #45452533

    You're "supposed" to acquire LTSC through non-official means, not using the evaluation ISO.

  6. comment
    Comment #45452392

    See also: https://betawiki.net/wiki/Windows_8_build_8172

  7. comment
    Comment #44766599

    Explorer uses XAML Islands. Parts of it are WinUI, while the rest is still Win32.

  8. comment
  9. comment
    Comment #44510270

    "Good enough" is not good enough.

  10. story
  11. comment
    Comment #44307805

    There's a million and one ways to do it, here's just some of the ones I remember: - https://www.mdsec.co.uk/2022/04/resolving-system-service-num... - https://klezvirus.github.io/Re…

  12. comment
    Comment #44134685

    On modern enough x86 CPUs (Intel Broadwell, AMD Ryzen) you could also use ADX [1] which may be faster nowadays in situations where radix 2^51 representation traditionally had an ed…

  13. comment
    Comment #43585940

    According to the standard `realloc(NULL, size)` should already behave like `malloc(size)`. You shouldn't need that special case unless you're working on a system with a very buggy/…

  14. comment
    Comment #43042398

    It just uses GDI_CLASSIC for DWRITE_MEASURING_MODE [1] and DWRITE_RENDERING_MODE [2] in that case. No actual GDI in sight. [1] https://learn.microsoft.com/en-us/windows/win32/api/d…

  15. comment
    Comment #42813749

    https://github.com/RealNeGate/Cuik/blob/5c6f6ef9bfa983eb358a...

  16. comment
  17. comment
    Comment #42617737

    The much dreaded Annex K functions are perhaps the worst possible example of an attempt at "fixing" anything safety related in C. A waste of ink.

  18. comment
    Comment #42407657

    Are there any benchmarks of Windows EH? The implementation is very different from DWARF/SJLJ EH and it would be interesting to see how it fares. I've seen some pretty exceptional c…

  19. comment
    Comment #42171256

    > Is a single MOV instruction still fast when the 8 bytes begin on an odd address? On x86, yes. There is no performance penalty for misaligned loads, except when the misaligned loa…

  20. comment
    Comment #42145244

    I think you should be able to get rid of most of the undocumented API usage with the newer CreateFileMapping2/MapViewOfFile3 APIs. Though that does require a higher minimum OS vers…

  21. comment
    Comment #41605923

    Be aware that if you actually want to do as the article prescribes, don't just copy and paste -- you shan't take anything at face value in C: https://news.ycombinator.com/item?id=3…

  22. comment
    Comment #41586103

    There is also Comic Code by the same author: https://tosche.net/fonts/comic-code . Feels like a more polished version of Comic Mono (but it is paid, too).

  23. comment
    Comment #41474819

    You don't need this exploit. You could use a media player that doesn't need MS codec packs, but assuming this is not an option: 1. Go to https://store.rg-adguard.net . 2. Paste in …

  24. comment
    Comment #41400053

    > is this possible or is the backend selected e.g. based on the OS? Selected in a reasonable order by default, but can be overridden. There are three ways to do so: - Set the SDL_H…

  25. comment
    Comment #41399452

    The current SDL GPU API does not intend to use this shader language. Instead, users are expected to provide shaders in the relevant format for each underlying graphics API [1], usi…