Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

February Meetup: Macros 1.1 #22

Closed
12 tasks done
colin-kiegel opened this issue Jan 13, 2017 · 23 comments
Closed
12 tasks done

February Meetup: Macros 1.1 #22

colin-kiegel opened this issue Jan 13, 2017 · 23 comments
Labels

Comments

@colin-kiegel
Copy link
Collaborator

colin-kiegel commented Jan 13, 2017

Todo:

Invitation draft

Title: Hacking Macros 1.1 (Cologne / 2017-02-01)

Let's get together and hack on some brand new Rust macros, shall we? :-)

Join us on 2017-02-01, 19:15 CET in Cologne, Germany.

With Rust 1.15 scheduled for early February, the highly anticipated procedural
macros 1.1 (aka custom derives) are finally going to be stable.

Agenda

* A short introduction to macros 1.1
* Peer up (optional)
* Pick a project and start hacking(*)

(*) If you are unfamiliar with Rust itself or procedural macros in Rust, you
are welcome to start with a small toy project, work in a group, and ask fellow
Rustaceans for guidance!

As always, you can enjoy some drinks, meet nice people and discuss about Rust.

**[You can register here](https://www.meetup.com/RustCologne/events/236858848/)**.

We are looking forward to seeing you. :-)

Yours,
Jan-Erik, Pascal, Florian and Colin

—

The meetup will likely be held in German, we will however reevaluate this at the beginning
of the evening and may switch to English if needed.

Rust News

@colin-kiegel
Copy link
Collaborator Author

colin-kiegel commented Jan 13, 2017

@Rustaceans/organizers-cologne February is coming fast and we already got RSVPs for our 'regular' meetup on Februar the first: https://www.meetup.com/RustCologne/events/236858848/

  • Any suggestions what we can do?
  • Shall we try open space again?

@killercup
Copy link
Contributor

killercup commented Jan 13, 2017

Thanks for the reminder @colin-kiegel!

According to http://rusty-dash.com,

Rust 1.15 stable will release on Fri Feb 03 2017.

…which is just after our regular date on February 1. Oh, and 1.15 is the highly anticipated release that stabilizes macros 1.1, i.e. custom derive! Which means we can finally use serde and diesel on stable!

So: How about an evening of hacking on crates using macros 1.1? I don't know about you, @Florob, but I have seen both @colin-kiegel and @badboy fiddle with proc macros over at colin-kiegel/rust-derive-builder#28, so I guess we as organizers can mentor people unfamiliar with this if needed.

By the way, given that most rust stable builds were done a few days ahead of the scheduled date, there is a good chance we get to play with the actual 1.15 release! Otherwise, the beta shouldn't differ from the stable release much.

Suggestions for projects to work on:

@colin-kiegel
Copy link
Collaborator Author

ingenious, I like it :-)

@killercup
Copy link
Contributor

By the way, setting the invite deadline to two weeks before the event will coincide with our meetup next week. I suggest sending it the day after, on Thursday (January 19).

@colin-kiegel
Copy link
Collaborator Author

Ok, I have started an invitation text (first post).

Shall we provide any introductory material or prepare a little demo respository? Tips and Tricks (like commonly used libraries in procedural macros)?

I found this introduction, though slightly outdated (e.g. no feature gate anymore): https://users.rust-lang.org/t/macros-and-syntax-extensions-and-compiler-plugins-where-are-we-at/7600

@Florob
Copy link
Collaborator

Florob commented Jan 14, 2017

I haven't looked at Macros 1.1 myself yet. Seems like a great topic though.
I think it would be good if someone could prepare a short introductory talk covering the what, why, and how. Having reference material available is good too, but I think it would be unfortunate if everyone spend the first minutes buried in paper or a laptop to read up on the general concepts.

@killercup
Copy link
Contributor

killercup commented Jan 14, 2017 via email

@dtolnay
Copy link

dtolnay commented Jan 14, 2017

I gave a 24-minute talk at the most recent San Francisco meetup: Macros 1.1 + Syn + Quote. Slides are here but are almost entirely code so they don't stand alone as a resource. Feel free to adapt the slides and run through them (in German?) if you think it would be helpful.

@badboy
Copy link
Collaborator

badboy commented Jan 14, 2017

@dtolnay Thanks! Having examples at hand is always useful.

@Others: Macros it is!

@colin-kiegel
Copy link
Collaborator Author

🎉

@badboy: others is actually a github user. Seems to live in portland, so I'd be surprised if he joins us. But I guess he gets quite a lot of mentions. ^^

@dtolnay
Copy link

dtolnay commented Jan 14, 2017

I live in the same time zone as Portland and this meetup will be 10:15 in the morning here, so @​others and I will both be available to merge syn/quote PRs, fix bugs, answer questions etc.

@badboy
Copy link
Collaborator

badboy commented Jan 14, 2017

Well, that mention to @Others was not intended. Sorry!

@Rustaceans/organizers-cologne: Macros it is!

@killercup killercup changed the title February Meetup February Meetup: Macros 1.1 Jan 14, 2017
@killercup
Copy link
Contributor

I updated the title and parts of the description. Will submit a PR to add it to the website as well, which we can merge at the end of the meetup next week so the site gets updated.

killercup added a commit that referenced this issue Jan 14, 2017
@killercup
Copy link
Contributor

Merged the PR to update the website with this event and I may have also mentioned it on twitter.

@colin-kiegel
Copy link
Collaborator Author

only reddit and rustplatz missing now. I can do rustplatz this weekend.

@killercup
Copy link
Contributor

Thanks, @colin-kiegel. I posted it to rustplatz and reddit.

@mre
Copy link
Contributor

mre commented Jan 24, 2017

Just stumbled upon the following article by @steveklabnik: http://words.steveklabnik.com/an-overview-of-macros-in-rust
Might be a good resource for our next meetup. (Thanks Steve!)

@colin-kiegel
Copy link
Collaborator Author

colin-kiegel commented Feb 1, 2017

Picks

Meetups

  • Rust Cologne Meetup
  • hackover.de (next meetup in Hannover)

Tools

  • spacemacs
  • racer + vim
  • curve25519-dalek in Rust

Books / Blogs

Crates

Others

  • image library from piston project (migrated to Rust)
  • get children
  • avoid winAPI
  • curry sausages around the corner
  • Gstreamer
  • vulkan API (complicated, fantastically well designed)

@badboy
Copy link
Collaborator

badboy commented Feb 1, 2017

Thanks for noting those down!

@colin-kiegel
Copy link
Collaborator Author

here is my talk ..

@chridou
Copy link

chridou commented Feb 1, 2017

Currywurst, not Hot Dogs ;-)

@mre
Copy link
Contributor

mre commented Feb 2, 2017

Oh yeah and the templating engine is called tera, not terra. ;-)

@colin-kiegel
Copy link
Collaborator Author

thx - fixed those two things. :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

7 participants