Rust: Tracking issue for RFC 2451, "Re-Rebalancing Coherence"

Created on 28 Oct 2018  Â·  10Comments  Â·  Source: rust-lang/rust

This is a tracking issue for the RFC "Re-Rebalancing Coherence" (rust-lang/rfcs#2451).

Steps:

Unresolved questions:

  • [ ] Are there additional implementations which are clearly acceptable under the current restrictions, which are disallowed with this extension? Should we allow them if so?
A-traits B-RFC-implemented B-unstable C-tracking-issue F-re_rebalance_coherence T-lang WG-compiler-traits

Most helpful comment

Stabilized in #65879

All 10 comments

To just add a implementation example:
We've used this feature to improve the implementation of diesel-oci. For this use case it seems to work fine.

@Centril Somebody needs to update the boxes in the opening comment and change the label to B-RFC-implemented.

We discussed this some time back and the plan was for me to write a stabilization report. But I've not done so. I do expect to do so, but perhaps not for a week or two.

@nikomatsakis in case it's useful: https://github.com/vbarrielle/sprs/pull/160

ndarray::Dot is a trait similar to Mul but for matrix multiplication. ndarray provides dense matrices and Dot impls for dense matrices. The sprs crate for sparse matrices wants to interoperate with ndarray and provide generic sparse.dot(dense) and dense.dot(sparse) impls. Both are needed since matrix multiplication isn't commutative. We're able to provide impl Dot<sprs::CsMat<_,_>> for ndarray::ArrayBase<_,_> from the sprs crate with this feature. We're looking forward to having it stabilized!!

What's the holdup for moving this towards stabilization? Still waiting for a lang team member to write the stabilization report? Is there a template that a non-team member could follow to assist with this work?

@djc Niko is on vacation and generally busy so he hasn't had time to write up the report yet. If you want to help out with that, there's inspiration to find in https://github.com/rust-lang/rust/pull/61682#issuecomment-502472847 (which is my most recent and elaborate report hitherto), https://github.com/rust-lang/rust/pull/61347#issuecomment-497533585, and https://github.com/rust-lang/rust/pull/57175/#issuecomment-450593735. Feel free to reach out to me on Discord's #design channel to discuss your progress / draft.

Er, I could have worded that a bit more broadly for everyone. =) https://github.com/rust-lang/rust/issues/63599 contains a stabilization proposal. Thoughts etc welcome in that issue.

@nikomatsakis awesome, thanks! Sorry I couldn't contribute anything in the end.

Stabilized in #65879

Was this page helpful?
0 / 5 - 0 ratings