Re:Static Integer Types
by staticassertion on Thursday July 01, 2021 @09:49AM
(#27699010)
Rust's const generics eval is quite powerful. It may be able to represent this.
[ Parent
| on HN ]
It probably can't yet on stable, but it will be able to within the next year or so.
Re:Static Integer Types
by staticassertion on Thursday July 01, 2021 @09:57AM
(#27699084)
Oh yeah, I guess I should have mentioned I'm talking explicitly about the nightly const feature.