-
Notifications
You must be signed in to change notification settings - Fork 24
Consider handing the crates to https://github.com/facebookexperimental/starlark-rust/ #283
Comments
Thanks @damienmg - I'm very happy to answer any questions you have, and even more happy to have any of you contributing to starlark-rust at the new location :) |
Having not read the changes on the fork in any detail, this sounds reasonable - it's exciting to see a lot of active development going on (and @ndmitchell's discussions on the main starlark repo have been great to follow). The compatibility notes are interesting, and it's great to see the extensions are all en/dis-ableable :) My handful of concerns are:
|
Fractionally, yes, but I hope the fraction is small enough to be unmeasurable. To answer your concerns:
Agreed! Legal and policy restrictions made that impossible. Sorry :(
Agreed - I think the benefits of trait alias and box syntax are worth the cost of being nightly. Once those two stabilise, I hope to go back to stable. |
Actually, not quite true, there's an internal linter which I can't release yet (mostly because it uses a boat load of unsupported Rust features, which is just not supportable in the outside world). It provides about 5 lints, with suggestions like using features of Gazebo such as dupe() over clone(). Should be minor, should rarely hit your code, and I'll mirror all lints - but trying to be completely forthcoming so you can make an informed decision, and not get surprised after the fact. |
Thanks @ndmitchell, that all sounds great: +1 from me - excited to see where things go! I'm not aware of anyone currently relying on releases, but claiming each release is incompatible feels reasonable. |
FWIW Saw this pop up, but am depending on releases and nightly is unfortunately not an option for me 😞 So if we were to switch from google to the FB fork, I'd have that concern. If we do plan on switching would it be possible to get a heads up so I can fork, and prepare to maintain that myself? |
@Mythra it would be sad if you had to maintain a separate version just for that. Are you able to share what is behind your requirement to stick to stable Rust? (Either here, or feel free to ping me and we chat chat over video or private email.) Is using stable rust but setting To go into more detail, we currently use unstable for 7 features. But if we had to, we could easily remove 3, and put one behind a flag. That gives us:
So moving back to stable definitely has a cost, both in terms of initial work and then in ongoing maintenance. But, it's a cost we would pay for someone who had an actual and pressing need. |
I've just removed |
Hey, Sorry about not commenting yesterday had a bunch going on. To help show our current situation the main reason for us using nightly is we're an incredibly small team, and we've been bitten by nightly in the past. Although rust nightly is generally very reliable, there's time where it hasn't been, and we haven't had the ability to change what we've needed to change without blocking something important. That's our main reason for wanting to stay on stable.
I definitely don't want to hold up your development though either just for our small team. Seems unfair to y'all. Especially since we've done some things that we were planning to contribute up, but are relatively tied to how this crate works. Almost all related to diagnostics: As the case above shows, being able to zero into a specific argument causing the problem. and highlight just that. Even for our custom type. It's definitely an awkward situation either way I feel, I just wanna make sure we don't hold y'all back either. Happy to work with what we can do though to make it the best situation for everyone. |
No worries about timing - there's no rush on this stuff. To go into nightly vs stable, there are two things you could do:
As for improvements around parameter validation, that sounds fantastic! I have some idea for how to do value "parsing", that I think might make such things easier, and the better error messages we can do the more helpful it is. It sounds like you are going down the same kind of approach. |
Could |
I would have hoped the Rust community came down hard on people setting RUSTC_BOOTSTRAP in the build.rs. It feels pretty grim, and something that users opting into is OK, but packages opting their users into for that package is cheating. But if that's the consensus, and the Rust community doesn't flame me, I'm game. I think we'd be fine with a stable-only interface (perhaps the exception backtrace would need to go, but the only reason I keep it is that I don't understand what it does!) |
rust-lang/cargo#7088 for some discussion on this. |
Thanks @jsgf - so it seems it is discouraged, but that it will probably still be possible for users to specify it on a crate-by-crate basis. But I've thought of another alternative. Perhaps we could eliminate the |
My impression from talking to @dtolnay is that box in its current form is unlikely to ever be stabilized. |
That's a shame. I also find it remarkably hard to get those kind of viewpoints and the reasoning behind them from the GitHub tickets etc associated with proposals... For
|
To clarify, I think the hope is that new syntax won't be needed, or at least not something so Box-specific. Allocation needs some answer for "placement new", and I think there's general agreement that there's hole in pattern matching. But I'm not very current on the details. |
Any other questions people have that would help decide on the crates ownership? A few people have reached out to me about wanting to depend on the revised starlark-rust, so it would be good to upload it Crates in the near future (whatever name it uses). For the moment they're using it as a git repo, but having it available on Crates makes it easier for them. |
Since there was no more comment for more than a week and seeing that the development on this repo is basically stalled. I would recommend to move the ownership of the crate to @ndmitchell. I will need another week or so to get that rubber stamped on my side so feel free to express blocking. From my view there is enough will from Neil to move toward a place nice for everybody that this move make sense. |
Hello all, I have gotten the necessary approval to move forward. This repository will be replaced with a single README that explains the new states and then archived. The crates ownership will be handed over to the new repository. It is going to happen in the following weeks. Let me know if there are still concerns around this. |
cc @stepancheg @illicitonion
Facebook released their own fork on this repository at https://github.com/facebookexperimental/starlark-rust/. Seeing the low support we can offer, I am for handling them over the crates and making this repository a redirection to the facebook one.
I am opening this bug to hear a bit more your thoughts about it. I haven't look too deep in the code yet to assess exactly what / how this would look like but from preliminary request I did some time ago there is no legal blocker on the google side.
Let me know if you have big thoughts on this.
Also ccing @ndmitchell
The text was updated successfully, but these errors were encountered: