Y
Hacker News
new
|
ask
|
show
|
jobs
by
cttet
2545 days ago
Why not? There are people who are more familiar with Rust than C/C++, why shouldn't they use a more familiar language?
1 comments
baq
2545 days ago
at that point you're getting the worst of both worlds: no safety guarantees and a very complex language.
link
paavohtl
2545 days ago
Unsafe Rust has significantly more safety guarantees than C or C++. It doesn't disable the type system, bounds checking, ownership tracking or borrow checking.
link
CaptainMarvel
2544 days ago
What does Unsafe Rust disable then?
link
steveklabnik
2544 days ago
It does not disable, it
enables
. Unsafe doesn't turn anything off, it adds new capabilities instead.
https://doc.rust-lang.org/nomicon/what-unsafe-does.html
link