Rust Links: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Claas (Diskussion | Beiträge) (Rust type system deep dive) |
Claas (Diskussion | Beiträge) (Patterns for defensive programming) |
||
| (2 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 11: | Zeile 14: | ||
== Type System == | == Type System == | ||
* [https://minikin.me/blog/rust-type-system-deep-dive Rust type system deep dive] | * [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)