Программирование на Rust 5. Closures. Metaprogramming
Репозиторий курса:
Дата лекции:
Лектор: Александр Становой
00:00:00 План лекции
00:01:07 Closures
00:04:10 Closures and traits
00:15:12 Fn, FnMut, FnOnce
00:22:17 fn
00:24:37 Closures: capturing
00:34:17 Closure type
00:35:43 Closures and optimizations
00:37:09 Lambdas and C
00:39:42 Metaprogramming
00:44:27 C and metaprogramming
00:46:42 Rust and metaprogramming
00:49:07 Declarative macros
00:50:37 macro_rules!
01:15:34 cargo-expand
01:18:31 Macros hygiene
01:22:26 Macros visibility
01:23:55 Procedural macros
01:31:17 Procedural macros hygiene
01:31:38 TokenStream
01:36:38 Spacing
01:37:53 syn crate
01:44:54 quote crate
01:45:43 Span
01:52:13 compile_error!
01:58:17 Macros from standard library
02:01:37 Confitional compilation
02:06:33 stringify!
02:07:32 include_str! and include_bytes!
02:08:36 Attributes
02:13:29 Conclusion