Recent submissions

Comment · 2 months ago
Congrats, that's incredible news. Watched apavlo@'s lectures while studying in the university and finished my bachelor thesis implementing features and doing research at ClickHouse. Surprised to see these worlds being together now!
Comment · 3 months ago
Comment · 10 months ago
Surprisingly I didn't put 2023, it was merged with another submission possibly with the help of mods
Comment · 1 year ago
Yes, sorry, it should be "disclosure"
Comment · 1 year ago
Disclaimer: the author of the comment is the founder and CTO of ClickHouse
Comment · 1 year ago
Comment · 1 year ago
Comment · 6 years ago
Comment · 6 years ago
Comment · 6 years ago
Hi, I thought that this is not the most interesting part of all the benchmarks, for example, all we need to test that with the quotient and the remainder: dividend = quotient * divisor + remainder, remainder < divisor and multiplication does not overflow which is free of division operations.

Yet, I added several tests like dividend < divisor, close to zero remainders, a lot of random stuff just to make sure each time I add a new approach, it is correct.

Comment · 6 years ago
Hi, I believe they can be done for 32 bit platforms also with the multiword division in Knuth https://skanthak.homepage.t-online.de/division.html what I've chosen for fallback if not x86_64 platform.

I will try to implement the same optimizations in Rust in the upcoming weeks

UPD And we opened an issue :) https://github.com/rust-lang/compiler-builtins/issues/368

Comment · 6 years ago
Hi everyone, the author is here. Yes, I believe the title should be changed to `Optimizing 128-bit Division`

Yet, I was not expecting it to be here. Overall, I put some knowledge hidden in Hacker's Delight book, Knuth, GMP and GNU in the article with my knowledge of low level optimizations. In the end it turned out to be a good thing to write and to submit into LLVM

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton