|
|
|
|
|
by mlmonkey
61 days ago
|
|
> The end result is a memory-safe video decoder that runs 2.7x faster than the Rust port, with identical video output, bringing it closer to the optimized C++. So ... Rust still can't beat the C++ implementation :-D Sorry, didn't mean to ignite a langwar, but it's still interesting to see. |
|
Of course, Rust is not a magic, so just porting to Rust wouldn't make this performance improvement. It seems their AI overfitted code to Rust compiler to find safe Rust code that compiles to efficient assembly.