Live data from Hacker News

Viewing profile — chrka

chrka

HN member
Joined
Tue, Apr 08, 2025, 1:38 PM UTC
HN karma
184
Public activity
46 items

About chrka

christof.kaser@gmail.com

Recent public activity

  1. comment
    Comment #49255125

    They say they don't do that. But maybe I should be more skeptical.

  2. comment
  3. comment
    Comment #49255009

    That's exactly why my previous public GitHub repo is now private.

  4. comment
    Comment #49199743

    I've written something like this in C - including resulting assembler code for ARM and x86. https://easylang.online/blog/branchless

  5. comment
    Comment #49195257

    https://news.ycombinator.com/item?id=48035568

  6. comment
    Comment #49032568

    Exactly. Just like using LibGen is prohibited.

  7. comment
    Comment #49031884

    I also recently made an open-source project with 200 GitHub stars private. I never had a problem with others using it as the basis for their own projects. In fact, that happened, a…

  8. comment
    Comment #48872769

    Therefore it is srand(1).

  9. comment
    Comment #48872747

    Both versions use the same input data. I also tried different random initial values and got essentially the same result. I didn't test hundreds of inputs, since that would have bee…

  10. comment
    Comment #48872620

    You're talking about the complexity of the Quicksort algorithm, whereas the article is about code generation. Both versions sort the same data using the same algorithm. Just a tiny…

  11. story
  12. story
  13. comment
    Comment #48795287

    Don't trust your compiler. Your code is only fast if you're lucky. https://tiki.li/blog/lucky_code.html

  14. story
  15. story
  16. comment
    Comment #48432482

    Normally, quicksort works best on random data. But with 90% already sorted and 10% random, it actually becomes harder to pick a good pivot. Sometimes the pivot ends up too large, w…

  17. comment
    Comment #48426794

    As for your party trick: The performance drop in "blqs" occurred because heapsort was applied directly to a poorly partitioned input. Quicksort now gets a second chance in this cas…

  18. comment
    Comment #48411060

    You will now see the directory listing. This website was actually created for my primary side project: a simplified programming language for beginners. I just added a blog folder t…

  19. comment
  20. comment
  21. comment
    Comment #48409365

    Branchful only wins via ILP when data becomes good predictable. But since Quicksort partitioning aims for a 50/50 split, it operates in the worst possible zone for a branch predict…

  22. comment
    Comment #48409125

    Author here. No, it's also called from the non_trivially_copyable branch (as a fallback). I'll fix that.

  23. story
  24. story
  25. story