Live data from Hacker News

Viewing profile — psykotic

psykotic

HN member
Joined
Wed, Feb 21, 2007, 1:15 PM UTC
HN karma
4,227
Public activity
863 items

About psykotic

Per Vognsen (https://mastodon.social/@pervognsen, firstname.lastname@gmail.com)

Recent public activity

  1. comment
    Comment #36968682

    > Most self taughts lack broader concepts, abstractions and especially algorithms. As a self-taught who later went to university for pure mathematics (which I got interested in thr…

  2. comment
    Comment #36888023

    LTO for LLVM/clang and gcc is implemented by getting the compiler to emit internal compiler IR code rather than machine code to the object files. The linker's job is to call into t…

  3. comment
    Comment #34394944

    Let's go to primary sources: https://developer.arm.com/documentation/ddi0487/latest The author is right. ARMv8 supports relaxed memory ordering but its memory model does not suppor…

  4. comment
    Comment #31547312

    > If you want to refactor, it's up to you to delete the types. The fact that f(g(x)) and { let y = g(x); f(y) } are equally robust to changes in g(x)'s type is an advantage of type…

  5. comment
    Comment #30918775

    > It's possible to build a hash on tolerant doubles by making two hashes per lookup, and even complex numbers with four per lookup, but no one's figured out how to deal with entrie…

  6. comment
    Comment #30775293

    Their financials are accessible now that they're a publicly traded company. https://investors.unity.com/news/news-details/2022/Unity-Ann...

  7. comment
  8. comment
  9. comment
    Comment #29400860

    Not sure what time scale you had in mind with "many many years" but the commercial third-party extension Visual Assist has been the only serious option for robust and scalable C++ …

  10. comment
  11. comment
    Comment #29299859

    I've only profiled fd on Windows but one thing that stood out was that it performed 2 stat syscalls per file via NtQueryInformationFile (that number should be 0 per file on Windows…

  12. comment
  13. comment
    Comment #28266025

    A space-aware syntax can allow optional spacing around operators but make it an error if it does not respect the precedence hierarchy or is deemed inconsistent by other rules.

  14. comment
    Comment #28230753

    > Even full-fledged database systems don't typically implement B+ tree indexes with deletion+rebalancing support (the usual technique is marking nodes deleted and cleaning them up …

  15. comment
    Comment #28187391

    I think you need 2 log2(n) - 1 butterfly stages to realize an arbitrary permutation.

  16. comment
    Comment #28081838

    Just wanted to cosign that this is absolutely a real-world concern. For that reason I always try to make huge reservations as early in the process lifecycle as possible [1] and the…

  17. comment
  18. comment
    Comment #28014080

    A fast binary search intended for B-tree key array searches does not have branches at all [1]. An B-tree interior node's key array is usually sized to fit in one cache line, so the…

  19. comment
    Comment #27938232

    "Invariant RDTSC" has been the norm for a long time now (identifiable by a CPUID feature bit) and it doesn't vary with power states or dynamic frequency. Which means it's just a li…

  20. comment
    Comment #27591610

    In a similar vein, all non-tiled GPUs do some form of lossless framebuffer compression purely as a bandwidth optimization (it doesn't save on DRAM footprint because that would mess…

  21. comment
  22. comment
    Comment #27525662

    As a counterexample to your claim about "every other ISA", ARM64 doesn't have an x86-style popcount instruction. Its CNT instruction operates on vectors, not words, and gives you t…

  23. comment
    Comment #27366395

    It's not widely known but PCRE (which I assume is still the most widely used regex library) supports partial matching which you can use to interoperate with any piecewise linear st…

  24. comment
    Comment #27350667

    I've never seen a laptop with a removable battery where you couldn't remove the battery and power it directly.

  25. comment