Bun team is rewriting SIMD from Rust to C++(github.com)
github.com
Bun team is rewriting SIMD from Rust to C++
https://github.com/oven-sh/bun/pull/31351
5 comments
Next: C++ has issues and Zig is a better choice?
column #
1. input (release builds, x64 AVX-512 host)
2. main (Rust)
3. this PR (C++ + highway)
4. speedup
"ascii, 4.6k chars 2.33 µs 106 ns 22×"
1. input (release builds, x64 AVX-512 host)
2. main (Rust)
3. this PR (C++ + highway)
4. speedup
"ascii, 4.6k chars 2.33 µs 106 ns 22×"
Correction: 22* should be 22x
Impressive result. Congrats!
The point is using C++ instead of Rust was 22 times faster