miniblog.
← Back to all posts
Jun 12, 2014 at 08:29
Algorithmic complexity attack on qsort:
https://calmerthanyouare.org/2014/06/11/algorithmic-complexity-attacks-and-libc-qsort.html
Fascinating, and a good discussion of sorting approaches in practice.
Wilfred Hughes
Related Posts
Nov 8, 2014 at 20:04
Fascinating and well-researched discussion of hashing approaches for Julia:
bad Dict performance for small integers, strings · Issue #1423 · JuliaLang/julia
In playing with dictionaries, I boiled down my code to a microbenchmark of simply filling a Dict{Int,Float64} with a million elements. Compared to Python, the results are disappointing. Here's the ...
Wilfred Hughes
Shared words: approaches, Fascinating, discussion Score: 62.8
Apr 28, 2022 at 02:50
The examples coverage in Rust is exceptionally good. It's weird how few languages include an example in their stdlib docs for sorting.
https://doc.rust-lang.org/std/vec/struct.Vec.html#method.sort
Vec in std::vec - Rust
A contiguous growable array type, written as `Vec<T>`, short for ‘vector’.
Wilfred Hughes
Shared words: sorting, good Score: 31.9
Apr 19, 2018 at 22:11
If you're interested in alternative approaches to computing, I strongly recommend exploring the ideas in the Tunes project. There's a good overview here:
Better computing pipe-dreams with Tunes
the ambition Tunes is a revolutionary, better way of computing, what includes programming. Unfortunately, Tunes is pure vaporware. It exists only in rough sketches in the minds of the participants …
Wilfred Hughes
Shared words: approaches, good Score: 31.3