|
|
Subscribe / Log in / New account

Rust bandwagon

Rust bandwagon

Posted Jan 3, 2023 19:17 UTC (Tue) by ma4ris5 (guest, #151140)
In reply to: Rust bandwagon by summentier
Parent article: Welcome to 2023

After a quick search: It seems to be possible to use both Rust and Julia with Rust's Julia bindings,
either using Julia's runtime for Rust, or using for example Tokio for Rust: https://github.com/Taaitaaiger/jlrs.
Currently Rust can't guarantee memory safety in some cases with Julia runtime there.

In Rust language side Google develops libraries and scientists verify that those libraries (to be used in Android phones)
are memory and data race safe: Compilation will fail, if safety rules are not met.
I don't like with Julia's current status "you have to be careful to avoid data races with mutexes and threads":
Should I validate each Julia library for possible thread safety issues?

Azure CEO Mark Russinovich wrote last year, that C/C++ should be deprecated over Rust with new projects.
Stroustrup defended C++ at https://www.theregister.com/2022/09/20/rust_microsoft_c/.

Container images in Cloud are being developed (hopefully) to contain less components with memory safety issues,
because every memory safety issue is a security issue (may or may not have a CVE).
https://www.csoonline.com/article/3599454/half-of-all-doc...
So C/C++ has higher post deployment security maintenance cost, compared to Rust.

RedHat recommends that the container images should contain only the necessary components:
https://cloud.redhat.com/blog/container-image-security-be...

I found "This week in Rust"
http://this-week-in-rust.org useful to see that what's new there.
Also MIT book could be useful for learning Rust:
http://web.mit.edu/rust-lang_v1.25/arch/amd64_ubuntu1404/...


to post comments

Rust bandwagon

Posted Jan 4, 2023 8:24 UTC (Wed) by jem (subscriber, #24231) [Link]

>Also MIT book could be useful for learning Rust:
>http://web.mit.edu/rust-lang_v1.25/arch/amd64_ubuntu1404/...

The original is at: https://doc.rust-lang.org/book/


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds