Тёмный

Nine Rules for Creating Procedural Macros in Rust - by Carl Kadie - Rust Linz, December 2022 

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

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

 

5 окт 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 8   
@rumplstiltztinkerstein
@rumplstiltztinkerstein Год назад
Very interesting talk. Learning macros is like learning an entirely new language. I will watch it more times as I study this subject.
@simonfarre4907
@simonfarre4907 Год назад
This is why I think macros are such a problem. Rust Macros are, way, way better than in other languages, but it is like you say, a different language. I wish we had compile time programming in the same language. That would be insanely powerful.
@rvdende
@rvdende Год назад
@@simonfarre4907 did you mean JIT like javascript?
@L0g1c21
@L0g1c21 5 месяцев назад
@@simonfarre4907this exists in most homoiconic languages like LISPs. Clojure specifically is my favorite language with Rust as a close second for this reason exactly. In Clojure data structures and code have the same syntax and you can write functions (macros) that transform syntax in the same way that you transform normal data structures. This is the root of the lisp adage “code as data”
@thingsiplay
@thingsiplay Год назад
Alternative title: The Zen of Creating Procedural Macros in Rust
@mageprometheus
@mageprometheus Год назад
Thank you so much Carl!!
@lack_of_awareness
@lack_of_awareness Год назад
Great talk
@edgeeffect
@edgeeffect Год назад
"9 rules for...." this is getting like "97 things every... programmer should know" .... but a little more concise, I suppose. ;)
Далее
Тренд Котик по очереди
00:10
Просмотров 335 тыс.
这位大哥以后恐怕都不敢再插队了吧…
00:16
Ace Rust Macros ♠️ the declarative kind
14:06
Просмотров 39 тыс.
Rust Before Main - Ryan Levick - Rust Linz, July 2022
31:34
A Practical Introduction to Derive Macros in Rust
9:31
Writing Rust Procedural Macros
1:07:33
Просмотров 4,5 тыс.
Rust's Witchcraft
9:18
Просмотров 181 тыс.
rust macros are magic
14:02
Просмотров 48 тыс.
Тренд Котик по очереди
00:10
Просмотров 335 тыс.