Originally posted by Sin2x
View Post
Announcement
Collapse
No announcement yet.
Rav1e 0.3.1 Is 25~40% Faster At Low Speed Levels For Rust-Based AV1 Encoding
Collapse
X
-
Originally posted by bug77 View Post
It depends what you're after. Not having to worry too much about the input parameters (among other things) causing undesired effects surely puts Rust in a good light.
Comment
-
Originally posted by AndyChow View Post
But, can they really claim to be the "safest" encoder around, if they put some manual assembly in there?
From the READMEyou may set the environment variable RAV1E_CPU_TARGET to rust to disable all the assembly-optimized routines at the runtime.
I think it compares against encoder mostly written in C
svt-av1 has- C 92.0% C++ 6.5% Assembly 0.9%
- C 77.3% C++ 14.0% Objective-C 3.1% Assembly 2.0%
- Assembly 56.8% Rust 42.9%
Last edited by Toggleton; 23 February 2020, 05:46 AM.
Comment
-
Originally posted by AndyChow View Post
But, can they really claim to be the "safest" encoder around, if they put some manual assembly in there?
The whole idea of safe code in Rust is not that all programs will magically work. They won't. The promise is to curb one specific category of problems related to memory management that are both pervasive at systems coding level and annoying to debug. Thus freeing the developer to shift their focus elsewhere.
- Likes 2
Comment
Comment