Planning v2 the horror returns! #440
Replies: 3 comments 1 reply
-
|
I've dug a bit into serde-starlark, and would love to see a move to use more of those sorts of tools. I don't think what cargo-raze is doing is unique, and what it's doing is worth a fresh look at what might be available to build on top of. (cargo-gnaw also probably has its own approach) |
Beta Was this translation helpful? Give feedback.
-
|
I love the idea of |
Beta Was this translation helpful? Give feedback.
-
|
I suspect that having the deps as a "database" we can apply queries over might rather drastically simplify much of the planning logic, I think it supports the resolve graph and might also have better handling for the cases where cargo is aware of things that are hard to infer from the metadata. I could be wrong, but I suspect much of our logic becomes boring "please iter this against a render() with DFS" |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Planning is, well kinda complex in this crate, I would know @UebelAndre , @acmcarther, myself and others have hacked on it a lot.
I am wondering if we might want to take a different track, I have been staring at the Facebook equivalent of cargo-raze which uses the following two libs:
Guppy seems like it might be better for many of the complex "queries" we want to run over deps, however before I even try to start on what planning looks like I want to test appetite and get more of a design document together.
Naturally this would be a version 2.x thing
Beta Was this translation helpful? Give feedback.
All reactions