Rust and Friends
Rust works well with other programming languages.
What is Rust
Rust is a systems programming language that runs blazingly fast, prevents segfaults, and guarantees thread safety.
Rust is a programming language that’s focused on safety, speed, and concurrency. Its design lets you create programs that have the performance and control of a low-level language, but with the powerful abstractions of a high-level language. These properties make Rust suitable for programmers who have experience in languages like C and are looking for a safer alternative, as well as those from languages like Python who are looking for ways to write code that performs better without sacrificing expressiveness. _ rustbook
Rust wikipedia: Rust programming language
What problem(s) does Rust Solve?
Featuring
- zero-cost abstractions
- move semantics
- guaranteed memory safety
- threads without data races
- trait-based generics
- pattern matching
- type inference
- minimal runtime
- efficient C bindings
source: The older “nerdy” rust website
Rust is a language that allows you to build high level abstractions, but without giving up low-level control - that is, control of how data is represented in memory, control of which threading model you want to use etc. Rust is a language that can usually detect, during compilation, the worst parallelism and memory management errors (such as accessing data on different threads without synchronization, or using data after they have been deallocated), but gives you a hatch escape in the case you really know what you’re doing. Rust is a language that, because it has no runtime, can be used to integrate with any runtime; you can write a native extension in Rust that is called by a program node.js, or by a python program, or by a program in ruby, lua etc. and, however, you can script a program in Rust using these languages. – “Elias Gabriel Amaral da Silva”
memory_safe
Rust makes it difficult to leak memory.
double
free, Null
deference, and dangling
pointers. Rust performs the majority of its safety checks and
memory management decisions at compile time, so that your program’s
runtime performance isn’t impacted.
blasingly_fast
benckmarks here
modern_tools
ecosystem here
Secure coding
The French government did a great job with the ANSSI GUIDELINES for
Rust:
PROGRAMMING
RULES TO DEVELOP SECURE APPLICATIONS WITH RUST