Skip to content

Commit 4cc15ce

Browse files
committed
w
1 parent cac6de9 commit 4cc15ce

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

vision/status_quo/nalgebra.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ where
6262
}
6363
```
6464

65+
As these bounds infect the public API, they are also a large backwards compatability concern.
66+
6567
### `ToTypenum` is only implemented up to fixed size
6668

6769
That's annoying. ✨
@@ -82,6 +84,12 @@ fn foo<Dims: MyDimensions>() {
8284
```
8385
While this can be avoided by going to back to `typenum` and using associated types, this adds a lot of unnecessary bounds and inpacts all of the code dealing with it.
8486

87+
### Generic parameters aren't exhaustive
88+
89+
Because `R` and `C` are generic parameters and not constants, the compiler doesn't know that
90+
`DefaultAllocator: Allocator<T, R, C>` holds for all `R` and `C`, leaking implementation defaults
91+
and causing signatures to be far less readable than necessary.
92+
8593
## Wishlist
8694

8795
Ideally, `Matrix` could be changed to the following:

0 commit comments

Comments
 (0)