filmov
tv
Rust Functions Are Weird (But Be Glad)
Показать описание
Rust takes a unique approach to function types, for both closures and fn items. In this video we'll talk about a way to fit these strange function types into your existing understanding of what types are. Then we'll look at how another language (okay, it's C++) does function types in a way that causes poor codegen in generic higher-order functions if you aren't careful--and how/why Rust avoids this problem.
Godbolt code samples from the video:
*Rust Stuff*
*C++ Stuff*
I use the amazing Manim library for animating these videos, and I edit them with Blender and Audacity.
Godbolt code samples from the video:
*Rust Stuff*
*C++ Stuff*
I use the amazing Manim library for animating these videos, and I edit them with Blender and Audacity.
Rust Functions Are Weird (But Be Glad)
Crust of Rust: Functions, Closures, and Their Traits
Rust Tip - Into String as Function Arguments
Advanced Function and Closures in Rust
Rust Tutorial #8 - Functions, Expressions & Statements
Idiomatic Rust - Function Arguments
Rust Is Weird 🙀
Rust 'did you know': non-generic inner functions
Tabnine Labs: Using AI to build a CLI with Rust
Rust Functions and Procedures
Concurrent programming in Rust part 10 #rustlang #rustprogramming #coding #funny
What is a Rust closure?
programming language, speed compilation #c++ #golang #rust
Rust Functions and Modules 🦀
Rust Lang Tutorial 2021 - Functions
Closures in Rust
Safe Rust AIN'T SAFE!? (cve-rs)
Functional paradigm mixed with Rust
Rust is not a faster horse
rust ownership is simple after this
Async Rust: the good, the bad, and the ugly - Steve Klabnik
Pattern matching within Rust functions for type-safe APIs - Learn Rust Creatively
Understanding Rust Closures aka. Anonymous Functions 🦀 💻
🦀 Is Rust BETTER than JS? - Pattern matching
Комментарии