News for hackers. Stuff that matters.
Re:What Is Rust's Hole Purpose? by Supermancho on Friday February 18, 2022 @11:19AM (#30387644)
Interestingly, what the adage left out, is the qualities. People don't just want a hole, without qualification. They want a hole that's reliably uniform (smooth bore, sharp edge), quick and easy to produce, and cost effective.

If Rust can avoid more errors with nearly the same performance profile (and control) offered by C, it's an improvement. The Hole purpose is to be a better low level language.

Re:What Is Rust's Hole Purpose? by lanstin on Friday February 18, 2022 @12:07PM (#30388284)
Is anyone writing a Python interpreter in Rust? Or an OpenSSL fork? Cert parsing libraries at least? I know there is a project to rewrite coreutils into Rust, seems that would also be a good demo. I don’t think the kernel drivers thing has landed yet, but it is also an interesting project.
Re:What Is Rust's Hole Purpose? by jcranmer on Friday February 18, 2022 @12:35PM (#30388602)
There's a JIT framework in Rust: https://github.com/bytecodealliance/wasmtime

There's a library for doing full X.509 certificate parsing and verification: https://briansmith.org/rustdoc/webpki/

There's definitely some attempts at doing pure-Rust SSL, but I suspect a lot of them are also doing some sketchy things with crypto that shouldn't be trusted (getting constant-time stuff implemented properly is really challenging, and probably requires large amounts of assembly to guarantee correctness).

Re:What Is Rust's Hole Purpose? by pjmlp on Saturday February 19, 2022 @04:37AM (#30395719)
While not Rust, there are definitely Python implementations in safe languages, namely Python itself, Java and .NET.
Re:What Is Rust's Hole Purpose? by smoe on Friday February 18, 2022 @11:31AM (#30387794)
Also, there are people that want a hole and there are those, that are selling hole making to others. The latter would indeed want to buy the drill.

A restaurant customer doesn't care what knife the chef used. But chefs still choose to get different specialized knifes for different tasks.