Rust Conf 2018

This presentation, by Chris Wong, is licensed under a Creative Commons Attribution ShareAlike 3.0


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.

Rated: Everyone
Viewed 138 times
Tags: There are no tags for this video.
{"cc_re__cc_re__cc_by_sa_3_0": ["right'>\n<a href=\"/videos/rustconf2018-closing-keynote\">Next Video\n<i class='fa fa-chevron-circle-right'></i>\n</a></div>\n</div>\n<div class='video-title show'>\n<a href=\"/videos/rustconf2018-my-little-procedural-macro\">My Little Procedural Macro</a>\n</div>\n<br>\n<div class='video-presenters'>\n<a href=\"/presenters/chris-wong\">Chris  Wong</a>\n</div>\n<div class='small' xmlns:cc='http://creativecommons.org/ns#'>\nThis presentation, by\n<a href=\"/presenters/chris-wong\">Chris  Wong</a>,\nis licensed under a\n<a href=\"http://creativecommons.org/licenses/by-sa/3.0/\" rel=\"license\" target=\"_blank\">Creative Commons Attribution ShareAlike 3.0</a>\n<br>\n<a href='http://creativecommons.org/licenses/by-sa/3.0/' rel='license'>\n<img alt=\"80x15\" src=\"http://i.creativecommons.org/l/by-sa/3.0/80x15.png\" />\n</a>\n</br>\n<br>\n</div>\n\n<div class='video-stats'>\nWhat if Handlebars was a macro?\r\n\r\nThree years, 376 commits, and countless breaking changes later, I may have an answer to that.\r\n\r\nMaud is a macro for writing HTML web pages. It's like format!(), but for markup instead of text. This design lets it", "ideo-title show'>\n<a href=\"/videos/rustconf2018-my-little-procedural-macro\">My Little Procedural Macro</a>\n</div>\n<br>\n<div class='video-presenters'>\n<a href=\"/presenters/chris-wong\">Chris  Wong</a>\n</div>\n<div class='small' xmlns:cc='http://creativecommons.org/ns#'>\nThis presentation, by\n<a href=\"/presenters/chris-wong\">Chris  Wong</a>,\nis licensed under a\n<a href=\"http://creativecommons.org/licenses/by-sa/3.0/\" rel=\"license\" target=\"_blank\">Creative Commons Attribution ShareAlike 3.0</a>\n<br>\n<a href='http://creativecommons.org/licenses/by-sa/3.0/' rel='license'>\n<img alt=\"80x15\" src=\"http://i.creativecommons.org/l/by-sa/3.0/80x15.png\" />\n</a>\n</br>\n<br>\n</div>\n\n<div class='video-stats'>\nWhat if Handlebars was a macro?\r\n\r\nThree years, 376 commits, and countless breaking changes later, I may have an answer to that.\r\n\r\nMaud 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.\r\n\r\nThis talk will cover lessons I learned while working on Maud"], "copyright__copyright__copyright": ["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.\n\nRated: Everyone\nViewed 138 times\nTags: There are no tags for this video."]}