Originally posted by Volta
View Post
Announcement
Collapse
No announcement yet.
Linux's V4L2 VP9 Codec Kernel Code Rewritten In Rust For Better Memory Safety
Collapse
X
-
Originally posted by Volta View PostRust is far from maturity of C and code written in Rust is much harder to read and follow IMO.
I'm waiting for large project written in Rust to see if it's really capable of replacing C. So far there are only tiny projects which are doing simple tasks.
Take https://github.com/quickwit-oss/tantivy as an example.
Or https://github.com/qdrant/qdrant.
Not trivial projects.Last edited by oleid; 28 February 2024, 04:59 AM.
- Likes 9
Comment
-
Originally posted by darkonix View Post
That's not exactly what's happening. The Linux kernel is not being rewritten in Rust at this time. Some new drivers are being developed in Rust and a few are being rewritten in Rust.
- Likes 5
Comment
-
Some bits of the codecs are in the kernel because stateless decoders require the software to keep metadata and handle some of the decoding state, but no decoding happens in the kernel.Last edited by blackshard; 28 February 2024, 05:17 AM.
- Likes 7
Comment
-
Originally posted by Volta View Post
What's so amazing? Rust is far from maturity of C and code written in Rust is much harder to read and follow IMO. I'm waiting for large project written in Rust to see if it's really capable of replacing C. So far there are only tiny projects which are doing simple tasks. I'd love to see PostgreSQL equivalent. It's so much hype and promises about Rust, but nothing interesting to see so far. The order should be different.
- Likes 12
Comment
-
Originally posted by Volta View PostWhat's so amazing?
Rust is far from maturity of C
and code written in Rust is much harder to read and follow IMO.
Even if you never heard about rust as C programmer, you could very easily understand rust code. Writing of course is a different beast.
- Likes 12
Comment
-
Originally posted by Volta View Post
What's so amazing? Rust is far from maturity of C and code written in Rust is much harder to read and follow IMO. I'm waiting for large project written in Rust to see if it's really capable of replacing C. So far there are only tiny projects which are doing simple tasks. I'd love to see PostgreSQL equivalent. It's so much hype and promises about Rust, but nothing interesting to see so far. The order should be different.
Or to put it differently, C is incredibly immature (i.e. 40-50 years) when it comes to memory safety.
- Likes 15
Comment
-
Originally posted by Volta View Post
What's so amazing? Rust is far from maturity of C and code written in Rust is much harder to read and follow IMO. I'm waiting for large project written in Rust to see if it's really capable of replacing C. So far there are only tiny projects which are doing simple tasks. I'd love to see PostgreSQL equivalent. It's so much hype and promises about Rust, but nothing interesting to see so far. The order should be different.
- Likes 10
Comment
-
Originally posted by kloczek View PostI'm patiently waiting for first memory leak or memory corruption in that rust code ..
- Likes 8
Comment
Comment