Rust is a significant and important programming language, but this 
Engineering Notebook post tells why I have no plans to study or use it.

*High-level overview of rust*

Rust might be called a safe version of C++. It is an appropriate language 
in several contexts:

- When C-like speed is important, as in the Ruff project 
<https://docs.astral.sh/ruff/>.
- When code should run natively in a web browser, as in RustPytyhon 
<https://github.com/RustPython/RustPython>.

​Rust safety comes from several *resources,* particularly Rust's memory 
allocation scheme, including the borrow checker 
<https://doc.rust-lang.org/1.8.0/book/references-and-borrowing.html>. In 
practice, Rust's smart pointers (part of the standard library) are 
essential to keep the borrow checker happy.

Rust's concurrency features 
<https://doc.rust-lang.org/book/ch16-00-concurrency.html> also make Rust 
much safer than C++. These features leverage Rust's memory allocation 
features.

*Summary*

Rust is the appropriate choice in several high-profile situations. However, 
Rust programmers must be constantly aware of implementation-level features. 
You could say that Rust is like C++ with benefits. For that reason, Python 
is a better language for experimenting with ideas.

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/leo-editor/ba298b49-7ee4-49de-b314-cbb50a20f43bn%40googlegroups.com.

Reply via email to