|
|
|
|
|
by staticassertion
3367 days ago
|
|
> Writing unsafe Rust instead of unsafe C is not giving you any real advantage for the existing projects, as long as the state is as it is. Your argument hinges pretty heavily on this. It's incorrect. The reality is that unsafe code in rust is not like unsafe code in C. First, it's bounded to a module. Second, you can grep for it (huge). Third, you still have less UB in unsafe rust than in C. I've never written code in rust that required unsafe, after many thousands of lines. > Is safely rewriting a crypto library which is useful in real project still a too big task to be taken? https://github.com/ctz/rustls ????????????? > But I'd like to see a real life case of its success too. Ripgrep is a nice one to point to. There's redox too. Tons of rust code out there. |
|
> I've never written code in rust that required unsafe, after many thousands of lines.
That illustrates the level of understanding of those who argue that curl should be rewritten in rust. Bravo.