Re:Writing Python inside Rust
by alfalfasprout on Saturday April 18, 2020 @03:38AM
(#22906013)
The problem is that inherently a lot of the times when you want to drop down to C/C++, you're doing numerical code that would really benefit from SIMD operations and many of those tend to not be portable (as far as I'm aware, basic SIMD is just in the proposal stage for WASM).
[ Parent
| on HN ]
Re:Writing Python inside Rust
by unrealhoang on Saturday April 18, 2020 @04:19AM
(#22906171)
Controlling memory layout of your data structures really goes a long way for tight loop performance. SIMD might be just the icing on top of the cake.