Загрузка видео...

Не удалось загрузить видео

На главную

Is Rust the least secure programming language? There was yet *another* massive Rust security failure... and nobody seemed surprised. Most Rust activists simply shrugged at the normalcy of it. Considering the frequency and severity of malicious code being added to the Rust Crates ecosystem... is it the least secure...

18,898 просмотров • 2 месяцев назад •via X (Twitter)

Комментарии: 26

Фото профиля Dave Jones
Dave Jones2 месяцев назад

Why the obsession with moving stuff to Rust?

Фото профиля Not a Keynesian
Not a Keynesian2 месяцев назад

I spent a lot of time coding Rust before moving back to C++. It's all security rhetoric with an ownership model enforced by the compiler that most devs just clone to get around. C++26 is more secure, IMO.

Фото профиля the_kovic
the_kovic2 месяцев назад

Npm exists so the bar for worst will always be incredibly low

Фото профиля OMF
OMF2 месяцев назад

It's more an indictment of the dependency culture in Rust, and an argument for languages with a good batteries-included stdlib (e.g. Nim). Also, a package manager WITHOUT transitive dependencies could work (like header-only libs in C).

Фото профиля Aristarchus of Samos
Aristarchus of Samos2 месяцев назад

Calling Rust "the least secure" because of third-party crate supply chain issues which affect npm, pip, and every modern package manager is peak bad-faith tech panic. Anything to keep the anti-Rust outrage machine funded.

Фото профиля Victor C
Victor C2 месяцев назад

Definitively, I would say not just the least secure but the buggiest one. It is about how its ecosystem was built, and it is still in development. That silly idea of Rust solving memory safety issues and making your systems secure, coming from Rustaceans, is just a fallacy.

Фото профиля Geralt
Geralt2 месяцев назад

No less secure than C.

Фото профиля Ali Sherief
Ali Sherief2 месяцев назад

NodeJS has and will always be less secure than Rust

Фото профиля John Gouin
John Gouin2 месяцев назад

Not a programmer but when Rust first came out I played around with it and I definitely didn't like it reaching out and getting packages. I think you can cache them but that ecosystem was alarming and now we see why it's a flaw not a feature.

Фото профиля Jonathan Bartlett
Jonathan Bartlett2 месяцев назад

It also just plain doesn’t live up to its safety guarantees. You can write unsafe Rust entirely without using *any* unsafe features.

Фото профиля Statutory Ape
Statutory Ape2 месяцев назад

The government is telling you to use it, so of course it's insecure. They've only given bad advice since 2014.

Фото профиля 1337 h4X0r
1337 h4X0r2 месяцев назад

Rust is just compiled JavaScript but even less readable

Фото профиля Adel Bucetta
Adel Bucetta2 месяцев назад

because the hard part is never just writing code, it's dealing with the complexity of real-world systems where assumptions can kill you

Фото профиля Shavix ➡️ KEL5 Gdańsk
Shavix ➡️ KEL5 Gdańsk2 месяцев назад

Why didn't you make a similar video when npm had such supply chain attacks even more frequently than

Фото профиля ℕ𝕚𝕧𝕒𝕝 ℂ𝕒𝕥
ℕ𝕚𝕧𝕒𝕝 ℂ𝕒𝕥2 месяцев назад

Ok. Notice the pattern: • PHP —> WP —> plugins —> overpopularity —> target for persistent attack • JS —> Node —> npm —> NextJS — same More? Recast your question. It is not about the language itself, it is about the ecosystem and community filled contents.

Фото профиля Shoestring Lab
Shoestring Lab2 месяцев назад

Crate is inherently insecure. That's a problem that no one seems to want to address.

Фото профиля Daniel Kos
Daniel Kos2 месяцев назад

People in here are really measuring Rust against node.js? I thought Rust was meant to be a robust systems level language

Фото профиля Deus Lemmus『旅鼠神』
Deus Lemmus『旅鼠神』2 месяцев назад

Simply by crates existing it is.

Фото профиля inverse.news
inverse.news2 месяцев назад

Every language has its purposes. It's strange to obsess over Rust.

Фото профиля Mr. Tech Guy
Mr. Tech Guy2 месяцев назад

Rust is NOT the programming language. Rust is the Virus...

Фото профиля Dodo on Security 🇵🇸 🇺🇦
Dodo on Security 🇵🇸 🇺🇦2 месяцев назад

Hey LarperJournal, any word on anti-woke, based Omarchy coming with a rootshell baked into it? No? Do you need a second to ask AI what that means?

Фото профиля Rob
Rob2 месяцев назад

@grok is this true?

Фото профиля Rob Stoddard 啄目鸟
Rob Stoddard 啄目鸟2 месяцев назад

So I masked the Rust compiler and Rust binaries, and now I can't install any browsers.

Фото профиля ninjaquick
ninjaquick2 месяцев назад

I think rust is a fine language - but it is definetly attracting the worst of FOSS and I can't trust it until it has multiple independent compiler projects.

Фото профиля John Gouin
John Gouin2 месяцев назад

You could of made this a little more comical..and I say this because at first I thought it was what you were doing. I heard you say at 1:06 "we had another one come in" and I thought it was BREAKING NEWS, like it just happened but then you said "from a couple of days ago".

Фото профиля FERRON
FERRON2 месяцев назад

1. Supply chain attacks in C programs are still possible, and might have even affected lots of software, see XZ Utils and Jia Tan. 2. What about npm package ecosystem, which allows lots of people to publish packages, similarly to crates . io? Also, Shai-Hulud.

Похожие видео

Why is Rust different than many/most programming languages? Alice Ryhl works on Google's Android Rust team, is a Rust language team advisor, and is a core maintainer of Tokio (the most widely-used async runtime in Rust) Timestamps: 00:00 Intro 04:09 Tokio: an overview 05:11 What Alice likes about Rust 12:48 Rust for TypeScript engineers 13:51 Moving from C++ to Rust 14:34 Memory safety 18:12 Garbage collection tradeoffs 21:46 Ownership, references, and borrowing 26:59 Unsafe in Rust 31:21 Crates and Cargo 35:55 Language design and RFCs 43:02 Building new features 46:30 Editions vs. versions 49:47 Getting paid to work on Rust 51:27 Contributing to Rust 53:03 Rust in the Linux kernel 55:45 AI use cases for Rust 1:01:35 Learning Rust 1:03:54 Book recommendation Brought to you by: • Antithesis – verify your system’s correctness without human review or traditional integration tests – and avoid bugs or outages. • Sentry – application monitoring software considered “not bad” by millions of developers Three things worth knowing about Rust: 1. Rust was designed to turn implicit failures into compile errors. Where other languages allow you to forget something, Rust makes an omission into a compilation error for things like null checks, uninitialized variables, or error propagation with the ‘?’ character. If you mess something up, it’s almost certain your program will not compile. If it does, at the very least you should see a lint warning. 2. Refactoring in Rust is safe and easy, thanks to the compiler. Alice: “I change a return type or struct field, then just fix the compiler errors until the compiler stops shouting. And then once I’ve done that, I’ve updated every place I need to update.” Rust’s focus on correctness makes refactoring it more straightforward than dynamically-typed languages and Java-style typed ones are to refactor. 3. “Editions” allow Rust to make breaking changes without ‘breaking’ anyone’s code. Rust editions (2015, 2018, 2021, 2024) can be mixed freely across crates. A library on the 2021 edition works seamlessly with a binary on the 2024 edition. This is how Rust evolves syntax (like adding async/await as keywords) without forcing an ecosystem-wide migration. Thanks a lot, Alice for this great discussion! And for your work on Rust.

Gergely Orosz

52,449 просмотров • 5 месяцев назад