Blog topic

Rust

Rust ist eine systemnahe Programmiersprache, die Speicher- und Datensicherheit ohne Garbage Collection bietet und gleichzeitig hohe Performance ermöglicht.

Articles

Articles about Rust

Rust - Arrays and Vectors

Rust - Arrays and Vectors

In Rust, there are different ways to store a collection of values. The most common types for such collections are arrays and vectors (Vec), each having distinct characteristics and use cases.

Rust – What is Borrowing?

Rust – What is Borrowing?

Borrowing is one of the central concepts in Rust's memory model and is closely linked to the ownership system. Instead of moving or copying data, data can be borrowed, enabling safe and efficient memory management.

Rust - Boxing

Rust - Boxing

Rust has the concept of boxing, which enables storing values on the heap instead of the stack. Boxing in Rust is represented by the type Box<T>, which wraps a value of type T in a box object and manages the memory dynamically on the heap. This is particularly useful when the size of the type is not known at compile time or with recursive data types.