How are macros dealt with for incremental compilation?

This page summarizes the projects mentioned and recommended in the original post on /r/rust

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • lexgen

    A fully-featured lexer generator, implemented as a proc macro

  • Indeed this is the problem I'm having with my proc macro crates lexgen and parsegen. In the case of lexgen, the proc macro is actually quite fast for realistic inputs, but the compiler spends a lot of time checking and generated code with cargo check (which I suspect rust-analyzer also uses). In the case of parsegen the proc macro does some analyses and takes some time. In both cases I have to split my proc macro code (not the proc macros, the code that uses the proc macros) to separate crates so that they won't be recompiler/re-analyzed as I work on the code.

  • parsegen

    An LR parser generator, implemented as a proc macro

  • Indeed this is the problem I'm having with my proc macro crates lexgen and parsegen. In the case of lexgen, the proc macro is actually quite fast for realistic inputs, but the compiler spends a lot of time checking and generated code with cargo check (which I suspect rust-analyzer also uses). In the case of parsegen the proc macro does some analyses and takes some time. In both cases I have to split my proc macro code (not the proc macros, the code that uses the proc macros) to separate crates so that they won't be recompiler/re-analyzed as I work on the code.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • If you're not using a lexer generator for your compiler, why?

    5 projects | /r/Compilers | 30 May 2021
  • Show HN: TinyWasm – A tiny WebAssembly Runtime written in Rust

    5 projects | news.ycombinator.com | 7 Mar 2024
  • Random Testing of WebAssembly Implementations Using Semantically Valid Programs

    2 projects | news.ycombinator.com | 4 Aug 2023
  • Logos 0.13 released

    2 projects | /r/rust | 10 Apr 2023
  • Hey Rustaceans! Got a question? Ask here (6/2023)!

    6 projects | /r/rust | 8 Feb 2023