Defining the Rust 2024 edition
Defining the Rust 2024 edition
Posted Jan 31, 2024 15:58 UTC (Wed) by mb (subscriber, #50428)In reply to: Defining the Rust 2024 edition by bluca
Parent article: Defining the Rust 2024 edition
But the error rate *is* relevant for the rebuild-the-world argument.
Rust code has a *much* smaller CVE defect rate than C code. Therefore, the effect of rebuild the world due to CVE is much smaller than you expect.
Posted Jan 31, 2024 17:54 UTC (Wed)
by LtWorf (subscriber, #124958)
[Link] (8 responses)
Posted Jan 31, 2024 18:45 UTC (Wed)
by Cyberax (✭ supporter ✭, #52523)
[Link] (2 responses)
PDF: https://github.com/pdf-rs/pdf (with automated fuzz tests)
Rust ecosystem is already far surpassing the quality of even the old C-based libraries.
Posted Jan 31, 2024 19:05 UTC (Wed)
by LtWorf (subscriber, #124958)
[Link] (1 responses)
Posted Jan 31, 2024 19:27 UTC (Wed)
by Cyberax (✭ supporter ✭, #52523)
[Link]
The new ecosystem in modern languages is already outpacing the traditional creaky old C-based infrastructure, that is mostly held together by duct tape and wishful thinking. So new languages are clearly doing something right (and some things wrong, of course) and perhaps you should actually look at what they're doing? Instead of just mandating that cars should have a flagman walking ahead of them to make sure they don't scare horses.
Posted Jan 31, 2024 18:50 UTC (Wed)
by mb (subscriber, #50428)
[Link] (4 responses)
https://security.googleblog.com/2022/12/memory-safe-langu...
> Android 13 is the first Android release where a majority of new code added to the release is in a memory safe language.
Posted Jan 31, 2024 19:04 UTC (Wed)
by LtWorf (subscriber, #124958)
[Link] (3 responses)
As you know perfectly well.
Posted Jan 31, 2024 19:12 UTC (Wed)
by mb (subscriber, #50428)
[Link] (1 responses)
And I didn't say that.
Do you understand what zero means in denominators?
Posted Jan 31, 2024 19:13 UTC (Wed)
by mb (subscriber, #50428)
[Link]
Posted Jan 31, 2024 19:43 UTC (Wed)
by Wol (subscriber, #4433)
[Link]
Who cares. Classic "lying with statistics".
If you want to argue that Rust has fewer bugs because it has fewer lines of code, that may be true. But that's not the argument being made.
The argument is that Rust has fewer bugs per KLoc. Which given that C has had $deity knows how many years to get rid of bugs, is rather telling.
Especially if Rust's "fewer" bugs is ZERO bugs.
Cheers,
Defining the Rust 2024 edition
Defining the Rust 2024 edition
MP3 (and other audio formats): https://crates.io/crates/symphonia (100% safe Rust)
JPEG: https://github.com/etemesi254/zune-image (with SIMD and turbo-speed, continuously fuzzed!)
Defining the Rust 2024 edition
Defining the Rust 2024 edition
Defining the Rust 2024 edition
> 2022 is the first year where memory safety vulnerabilities do not represent a majority of Android’s vulnerabilities.
> To date, there have been zero memory safety vulnerabilities discovered in Android’s Rust code.
Defining the Rust 2024 edition
Defining the Rust 2024 edition
As you know perfectly well.
Defining the Rust 2024 edition
Defining the Rust 2024 edition
Wol