Re:Show HN: Ractor – a Rust-based actor framework with clust...
by vore on Thursday February 16, 2023 @01:56AM
(#34815856)
Clearly nothing can be truly safe then if you ever use the standard library ;-)
Re:Show HN: Ractor – a Rust-based actor framework with clust...
by pkolaczk on Thursday February 16, 2023 @02:01AM
(#34815880)
All safe language runtimes use unsafe code by this logic.
Re:Show HN: Ractor – a Rust-based actor framework with clust...
by Alifatisk on Thursday February 16, 2023 @05:29AM
(#34817020)
Does that also apply to GC-languages?
Re:Show HN: Ractor – a Rust-based actor framework with clust...
by linguistics__ on Thursday February 16, 2023 @05:36AM
(#34817073)
Yes, if you dare to look into a GC implementation, you might see some truly unsafe code indeed
Re:Show HN: Ractor – a Rust-based actor framework with clust...
by alpaca128 on Thursday February 16, 2023 @08:30AM
(#34818343)
You can't have 100% safety all the way down. Garbage collection doesn't help you if the VM itself has a memory leak or some driver crashes.
Re:Show HN: Ractor – a Rust-based actor framework with clust...
by phaylon on Thursday February 16, 2023 @07:01AM
(#34817626)
You know, people outside the Rust community keep bringing this up as some kind of argument against it. But to me, it's one of the biggest points for it; because the important thing about `unsafe` encapsulation isn't what's inside of it, but what's possible on the outside.
Re:Show HN: Ractor – a Rust-based actor framework with clust...
by sidlls on Thursday February 16, 2023 @10:25AM
(#34819875)
I bring it up because Rust evangelists like to pretend that Rust code with no explicit “unsafe” in it is safe. It’s not safe, though, as long as the dependencies use it.
I enjoy coding in Rust. I don’t enjoy the shit name its community gives it.
Re:Show HN: Ractor – a Rust-based actor framework with clust...
by howinteresting on Thursday February 16, 2023 @02:46PM
(#34824691)
All safe code that exists in any language is built on unsafe code. Unsafe code is fundamental to computers. Your frame is unhelpful, not illuminating.
* except all the unsafe code in the dependencies (e.g. https://github.com/tokio-rs/tokio/search?q=unsafe)