Rust Links: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Claas (Diskussion | Beiträge) (Cow) |
Claas (Diskussion | Beiträge) (We have polymorphism at home) |
||
(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] | ||
== Borrow Checker == | == Polymorphism == | ||
[https://hermanradtke.com/2015/05/29/creating-a-rust-function-that-returns-string-or-str.html/ Function returning either String or &str | * [https://medium.com/@alighahremani1377/we-have-polymorphism-at-home-d9f21f5565bf We have polymorphism at home] | ||
== Borrow Checker / References == | |||
* [https://hermanradtke.com/2015/05/29/creating-a-rust-function-that-returns-string-or-str.html/ Function returning either String or &str using Cow] | |||
* [https://ferrous-systems.com/blog/rustls-borrow-checker-p1/ Performance improvements by reducing heap allocations etc] ([https://ferrous-systems.com/blog/rustls-borrow-checker-p2/ 2], [https://ferrous-systems.com/blog/rustls-borrow-checker-p3/ 3]) | |||
== 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]) | |||
== Type System == | |||
* [https://minikin.me/blog/rust-type-system-deep-dive Rust type system deep dive] |
Aktuelle Version vom 5. Mai 2025, 08:16 Uhr
Lifetimes
Polymorphism
Borrow Checker / References
- Function returning either String or &str using Cow
- Performance improvements by reducing heap allocations etc (2, 3)