Rust Links: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Claas (Diskussion | Beiträge) (Performance improvements) |
Claas (Diskussion | Beiträge) (Patterns for defensive programming) |
||
| (3 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
| Zeile 1: | Zeile 1: | ||
== Lifetimes == | == Lifetimes == | ||
* [http://codrspace.com/buntine/aha-understanding-lifetimes-in-rust Lifetimes] | * [http://codrspace.com/buntine/aha-understanding-lifetimes-in-rust Lifetimes] | ||
== Polymorphism == | |||
* [https://medium.com/@alighahremani1377/we-have-polymorphism-at-home-d9f21f5565bf We have polymorphism at home] | |||
== Borrow Checker / References == | == Borrow Checker / References == | ||
| Zeile 8: | Zeile 11: | ||
== Iterators == | == Iterators == | ||
* [https://blog.jetbrains.com/rust/2024/03/12/rust-iterators-beyond-the-basics-part-i-building-blocks/ Iterators beyond basics] ([https://blog.jetbrains.com/rust/2024/03/12/rust-iterators-beyond-the-basics-part-ii-key-aspects/ 2], [https://blog.jetbrains.com/rust/2024/03/12/rust-iterators-beyond-the-basics-part-iii-tips-and-tricks/ 3]) | * [https://blog.jetbrains.com/rust/2024/03/12/rust-iterators-beyond-the-basics-part-i-building-blocks/ Iterators beyond basics] ([https://blog.jetbrains.com/rust/2024/03/12/rust-iterators-beyond-the-basics-part-ii-key-aspects/ 2], [https://blog.jetbrains.com/rust/2024/03/12/rust-iterators-beyond-the-basics-part-iii-tips-and-tricks/ 3]) | ||
== Type System == | |||
* [https://minikin.me/blog/rust-type-system-deep-dive Rust type system deep dive] | |||
* [https://rustcurious.com/elements/ Elements of Rust – Core Types and Traits] | |||
== Patterns == | |||
[https://corrode.dev/blog/defensive-programming/ Patterns for defensive programming] | |||
Aktuelle Version vom 12. November 2025, 13:38 Uhr
Lifetimes
Polymorphism
Borrow Checker / References
- Function returning either String or &str using Cow
- Performance improvements by reducing heap allocations etc (2, 3)