| ▲ | burntsushi 2 days ago | ||||||||||||||||||||||||||||||||||||||||
> How about porting BurntSushi's absurdly great Rust optimized string search routines to C and making them faster? How did it do? :-) | |||||||||||||||||||||||||||||||||||||||||
| ▲ | simonw 2 days ago | parent [-] | ||||||||||||||||||||||||||||||||||||||||
Alarmingly well! https://gisthost.github.io/?1bf98596a83ff29b15a2f4790d71c41d... It couldn't quite beat the Rust implementation on everything, but it managed to edge it out on at least some of the benchmarks it wrote for itself. (Honestly it feels like a bit of an afront to the natural order of things.) That said... I'm most definitely not a Rust or C programmer. For all I know it cheated at the benchmarks and I didn't spot it! | |||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||