Instead of emitting one giant crate containing everything, we tweaked our SQL-to-Rust compiler to split the output into many smaller crates. Each one encapsulating just a portion of the logic, neatly depending on each other, with a single top-level main crate pulling them all in.

  • thingsiplay@beehaw.org
    link
    fedilink
    arrow-up
    5
    arrow-down
    1
    ·
    3 days ago

    Impressive improvement! But why did they choose Rust to compile on demand in the first place, if compile time was that important?