Тёмный

RustConf 2018 - My Little Procedural Macro by Chris Wong 

Rust
Подписаться 63 тыс.
Просмотров 6 тыс.
50% 1

RustConf 2018 - My Little Procedural Macro by Chris Wong
What if Handlebars was a macro?
Three years, 376 commits, and countless breaking changes later, I may have an answer to that.
Maud is a macro for writing HTML web pages. It's like format!(), but for markup instead of text. This design lets it catch typos at compile-time, as well as run blazingly fast.
This talk will cover lessons I learned while working on Maud, including: tips on designing a macro's syntax, some common pitfalls with the procedural macro system, and dealing with Nightly Rust. There will also be a pony.

Опубликовано:

 

2 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии    
Далее
НОВАЯ "БУХАНКА" 2024. ФИНАЛ
1:39:04
Просмотров 173 тыс.
Traits and You: A Deep Dive - Nell Shamrell-Harrington
22:09
RustConf 2018 - Embedding Rust in C/C++ by Katharina
31:20
A Practical Introduction to Derive Macros in Rust
9:31
Intro to Rust-lang (Macros and Metaprogramming)
13:54
Rust's Witchcraft
9:18
Просмотров 181 тыс.
Is It Time to Rewrite the Operating System in Rust?
1:09:18