Well, it shouldn’t. Both C and Rust can achieve the same performance. There’s also no overhead for calling Rust from C or vice versa. Theoretically, some detail-optimizations look less horrid in C, but on the other hand, writing parallel code is significantly easier in Rust. Graphics drivers tend to be all about parallelism, although I can’t say how relevant it actually is in this case.
Having said that, it is likely that the initial versions of this new driver will have worse performance, until the code base matures more.
Hmm I hope the chosen language doesn’t cause performance issues.
Was this a general conservative outlook/take on change?
Or are you hinting at something? If so, would you be so kind to elaborate?
No it wasn’t a hint on anything specific. I’m just rather skeptical when it comes to any major changes made to anything in recent times.
Fair enough. Thanks for the clarification!
Rust can be faster or slower depending on how you write your C code. In general they are the same.
Well, it shouldn’t. Both C and Rust can achieve the same performance. There’s also no overhead for calling Rust from C or vice versa. Theoretically, some detail-optimizations look less horrid in C, but on the other hand, writing parallel code is significantly easier in Rust. Graphics drivers tend to be all about parallelism, although I can’t say how relevant it actually is in this case.
Having said that, it is likely that the initial versions of this new driver will have worse performance, until the code base matures more.