[-] blazebra@programming.dev 24 points 2 months ago

Following this logic whole human life is a puzzle game.

[-] blazebra@programming.dev 12 points 3 months ago

It’s a good suggestion

[-] blazebra@programming.dev 2 points 3 months ago

I still prefer 7z for compression

[-] blazebra@programming.dev 1 points 3 months ago

7z can be at least decompressed in macOS & FreeBSD out of the box.

On windows tar.bz/gz/xz unpacks to tar and then to actual files. As tar is a separate archive format

[-] blazebra@programming.dev 3 points 3 months ago

7z has way better (ultra) compression

[-] blazebra@programming.dev 1 points 3 months ago

7z uses proprietary rar library to unpack

[-] blazebra@programming.dev 1 points 4 months ago

Does it still work?

[-] blazebra@programming.dev 2 points 4 months ago

Integer sqrt can be used for integers with any length, not only for integers fit into f64

[-] blazebra@programming.dev 1 points 4 months ago

Integer sqrt is usually not a library function and it’s very easy to implement, just a few lines of code. Algorithm is well defined on Wikipedia you read a lot. And yes, it doesn’t use FPU at all and it’s quite fast even on i8086.

[-] blazebra@programming.dev 1 points 4 months ago

Algorithm is so plain and simple, it doesn’t require nightly or Rust specifically to implement.

[-] blazebra@programming.dev 2 points 4 months ago

Nice article, I enjoyed it. Why float sqrt has been used? Integer sqrt is way faster and easily supports integers of any lengths

[-] blazebra@programming.dev 5 points 4 months ago

Could you please explain why he should be embarrassed by such post? What would you improve?

view more: next ›

blazebra

joined 11 months ago