this post was submitted on 17 Sep 2024
34 points (94.7% liked)

C++

1718 readers
48 users here now

The center for all discussion and news regarding C++.

Rules

founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] funtrek@discuss.tchncs.de 6 points 2 days ago (9 children)

The problem with c++ is that it allows people to do whatever they want. Turns out: people are dumb. Rust solved that problem. Nothing more, nothing less.

[–] Dark_Arc@social.packetloss.gg -4 points 2 days ago (7 children)

Rust still allows people to do (basically) whatever they want via unsafe blocks.

[–] FizzyOrange@programming.dev 8 points 2 days ago (2 children)

Yeah but I have written a lot of Rust and I have yet to use a single unsafe block.

Saying "but.. unsafe!" is like saying Python isn't memory safe because it has ctypes, or Go isn't memory safe because of its unsafe package.

[–] Dark_Arc@social.packetloss.gg -5 points 2 days ago

See my reply to funtrek's reply.

load more comments (1 replies)
load more comments (5 replies)
load more comments (6 replies)