Zenny
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Arbitrary@reddthat.com to Rust@programming.dev · 2 years ago

Rust Foundation Security Initiative Report

foundation.rust-lang.org

external-link
message-square
15
link
fedilink
30
external-link

Rust Foundation Security Initiative Report

foundation.rust-lang.org

Arbitrary@reddthat.com to Rust@programming.dev · 2 years ago
message-square
15
link
fedilink
  • RunAwayFrog@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    1
    ·
    2 years ago

    Hello kornel.

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

    • kornel@lemmyrs.org
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 years ago

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

      • RunAwayFrog@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        1
        ·
        2 years ago

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

        • kornel@lemmyrs.org
          link
          fedilink
          English
          arrow-up
          1
          ·
          edit-2
          2 years ago

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

          • RunAwayFrog@sh.itjust.works
            link
            fedilink
            English
            arrow-up
            2
            ·
            2 years ago

            I’m aware.

            I just find calling the average proc-macro crate a “compiler plugin” a little bit baffling/confusing.

            Isn’t the term “compiler plugin” reserved for crates/tools that depend on rustc, like clippy?

Rust@programming.dev

rust@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !rust@programming.dev

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)
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 19 users / day
  • 178 users / week
  • 376 users / month
  • 167 users / 6 months
  • 1 local subscriber
  • 5.35K subscribers
  • 696 Posts
  • 2.52K Comments
  • Modlog
  • mods:
  • snowe@programming.dev
  • Ategon@programming.dev
  • EdTheLegendary@programming.dev
  • kahnclusions@programming.dev
  • torcherist@programming.dev
  • UI: unknown version
  • BE: 0.19.11
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org