this post was submitted on 14 Mar 2024
3 points (100.0% liked)

Programmer Humor

22872 readers
827 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] muzzle@lemm.ee 1 points 1 year ago* (last edited 1 year ago) (6 children)

Rust is more like: unless you can mathematically prove to me that this is equivalent to a nut there is no ducking way I'll ever let you compiled this.

[–] ryannathans@aussie.zone -1 points 1 year ago* (last edited 1 year ago) (4 children)
[–] EinfachUnersetzlich@lemm.ee 0 points 1 year ago (3 children)

If you can make safe Rust segfault you're doing something wrong.

[–] xlash123@sh.itjust.works 1 points 1 year ago

It actually is possible to segfault in safe Rust, although it is considered a bug. Proofs of concept are shown in this cve-rs crate.

If you want an explanation of why this happens, I recommend this video: https://youtu.be/vfMpIsJwpjU

load more comments (2 replies)
load more comments (2 replies)
load more comments (3 replies)