Re:TCP Use-After-Free: CVE-2026-98432 / CVSS 9.8
by athrowaway3z on Sunday November 01, 2026 @04:58AM
(#50324079)
Your fallacy is that you present the comparison 'if' either of the two can be done poorly.
Rust can separate the question: "Is a set of functions is safe in a certain condition" from "using functions in that condition".
They are materially different. SIMD has a safe interface now.
Re:TCP Use-After-Free: CVE-2026-98432 / CVSS 9.8
by uecker on Sunday November 01, 2026 @05:10AM
(#50324148)
The only question is to what extend this is relevant in reality, and how it compares to other efforts to avoid bugs.
Re:TCP Use-After-Free: CVE-2026-98432 / CVSS 9.8
by afdbcreid on Sunday November 01, 2026 @09:37AM
(#50326136)
I won't comment on your entire comment, but this:
> To make it fast you need simd, which implied using unsafe
Is just false. There are multiple safe SIMD libraries for Rust that can exploit the full SIMD potential. Only very rarely they require unsafe for maximum performance and only to avoid bound checks.
Re:TCP Use-After-Free: CVE-2026-98432 / CVSS 9.8
by GoblinSlayer on Sunday November 01, 2026 @10:07AM
(#50326365)
Google already did it and resorted to unsafe rust to be competitive.
Illustrative example: This CVE in a Rust matrix transpose code: https://github.com/advisories/GHSA-5gmm-6m36-r7jh
Conceptually, there is not really anything much simpler than a matrix transpose. So how did they manage to create a bug? To make it fast you need simd, which implied using unsafe, and the dimension check to make it safe used unsigned integers that could wrap around. So they same bullshit as in C.