Announcing Rust 1.76.0 - eviltoast
  • BatmanAoD@programming.dev
    link
    fedilink
    arrow-up
    12
    ·
    9 months ago

    Minor point of clarification: it can’t have runtime reflection, but in principle it could have compile time reflection.

    • QuaternionsRock@lemmy.world
      link
      fedilink
      arrow-up
      2
      arrow-down
      1
      ·
      9 months ago

      And compile-time reflection will probably also continue to suck due to some irreconcilable limitations of type-safe generic specialization. Oh how I would love an equivalent to C++ template parameter packs…

    • anlumo@feddit.de
      link
      fedilink
      English
      arrow-up
      2
      arrow-down
      2
      ·
      9 months ago

      No, the Rust Project recently made sure that Rust can’t have compile-time reflection.

        • anlumo@feddit.de
          link
          fedilink
          English
          arrow-up
          2
          arrow-down
          3
          ·
          9 months ago

          Here is a short summary. The compile-time reflection project was stopped, and now nobody wants to touch that subject any more due to fear of getting the wrath of the Rust project again (the person responsible for the whole thing is still part of the leadership).