|
|
Subscribe / Log in / New account

Defining the Rust 2024 edition

Defining the Rust 2024 edition

Posted Jan 31, 2024 18:50 UTC (Wed) by mb (subscriber, #50428)
In reply to: Defining the Rust 2024 edition by LtWorf
Parent article: Defining the Rust 2024 edition

>The amount of rust code is also much less

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.
> 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.


to post comments

Defining the Rust 2024 edition

Posted Jan 31, 2024 19:04 UTC (Wed) by LtWorf (subscriber, #124958) [Link] (3 responses)

The majority of the ADDED code isn't the majority of ALL the code.

As you know perfectly well.

Defining the Rust 2024 edition

Posted Jan 31, 2024 19:12 UTC (Wed) by mb (subscriber, #50428) [Link] (1 responses)

> The majority of the ADDED code isn't the majority of ALL the code.

And I didn't say that.
As you know perfectly well.

Do you understand what zero means in denominators?

Defining the Rust 2024 edition

Posted Jan 31, 2024 19:13 UTC (Wed) by mb (subscriber, #50428) [Link]

numerator, of course.

Defining the Rust 2024 edition

Posted Jan 31, 2024 19:43 UTC (Wed) by Wol (subscriber, #4433) [Link]

> The majority of the ADDED code isn't the majority of ALL the code.

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,
Wol


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds