Viewing profile — chrka
chrka
HN member- Joined
- Tue, Apr 08, 2025, 1:38 PM UTC
- HN karma
- 184
- Public activity
- 46 items
- HN profile
- View on Hacker News ↗
About chrka
Recent public activity
-
comment
Comment #49255125
They say they don't do that. But maybe I should be more skeptical.
- comment
-
comment
Comment #49255009
That's exactly why my previous public GitHub repo is now private.
-
comment
Comment #49199743
I've written something like this in C - including resulting assembler code for ARM and x86. https://easylang.online/blog/branchless
-
comment
Comment #49195257
https://news.ycombinator.com/item?id=48035568
-
comment
Comment #49032568
Exactly. Just like using LibGen is prohibited.
-
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…
-
comment
Comment #48872769
Therefore it is srand(1).
-
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…
-
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…
- story
- story
-
comment
Comment #48795287
Don't trust your compiler. Your code is only fast if you're lucky. https://tiki.li/blog/lucky_code.html
- story
- story
-
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…
-
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…
-
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…
- comment
- comment
-
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…
-
comment
Comment #48409125
Author here. No, it's also called from the non_trivially_copyable branch (as a fallback). I'll fix that.
- story
- story
- story