General statistics
List of Youtube channels
Youtube commenter search
Distinguished comments
About
p11
ThePrimeTime
comments
Comments by "p11" (@porky1118) on "what is wrong with rust and linux????" video.
27:30 When I wrote some C library some years ago, I planned to intigrate it with Rust from the beginning. But I didn't try to make my program compatible with Rust. That's an issue that I handled in my Rust wrapper. And I think, I even made my C library less Rust-friendly over time. For example I removed "unsafe" markers in method names from my C code. I think, I also allowed more by default in the C library and delegated all the safety features to the Rust library only. And recently I also removed most of the convenience features from the Rust library, so it's just a direct wrapper, which marks some exported methods as unsafe. These can be implemented in separate libraries.
1