You are viewing a single thread.
View all comments View context
1 point

Hello kornel.

Assuming you have the data, do you mind sharing how many crates in their latest version use compiler plugins?

permalink
report
parent
reply
1 point

At least 69K, which is over half of all crates — https://lib.rs/quote is used almost exclusively for output of proc macros.

permalink
report
parent
reply
1 point

Oh, we are calling proc-macro crates “compiler plugins”! I didn’t realize.

permalink
report
parent
reply
1 point
*

They are dlopened by the rustc process. You can totally mess with it: https://nitter.net/m_ou_se/status/1368632701448818691

permalink
report
parent
reply

Rust

!rust@programming.dev

Create post

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

!performance@programming.dev

Credits
  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)

Community stats

  • 572

    Monthly active users

  • 887

    Posts

  • 3.9K

    Comments