Hacker News new | ask | show | jobs
Bun team is rewriting SIMD from Rust to C++ (github.com)
4 points by impoppy 29 days ago
2 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×"

Correction: 22* should be 22x
Impressive result. Congrats!
The point is using C++ instead of Rust was 22 times faster