this post was submitted on 10 Aug 2025
900 points (95.4% liked)

Programmer Humor

26387 readers
2327 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
[–] pheggs@feddit.org 2 points 1 month ago (10 children)

not a big fan of rust personally. I think it would be much smarter to bring borrow checking to C through annotations. That way we would not have to rewrite the whole world

[–] originaltnavn@lemmy.zip 15 points 1 month ago (3 children)

While I agree that would solve much of the motivation behind rewriting in rust, I don't think it would bring many of the rust-enthusiasts over to C. For me at least, the killer feature of rust is having a modern tooling and language with proper library management, functional stuff in the language and one language standard everyone agrees upon.

[–] Kushan@lemmy.world 15 points 1 month ago (1 children)

I don't think it's about bringing rust enthusiasts to C, it's about the fastest way to bring more safety to the entire ecosystem.

I'm not convinced it's possible with just annotations, mind.

[–] pheggs@feddit.org 1 points 1 month ago

It is possible, it would bring in quite a few restrictions though. The bigger problem I see is that it wouldn't be entirely clear as an end user whether a program is memory safe or not. However, this isn't the case with rust neither. Maybe some kind of certification would help

load more comments (1 replies)
load more comments (7 replies)