Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
programLyrique
· 10y ago · 0 comments
I'd really like to have type-level numbers natively in Rust. Implementing a vector generic on its dimensions seems to be so much easier in D!
Any prospect about that?
Comments
[–]
bjz_
10y ago
There is definitely a prospect! The core team understands the need. It still needs an RFC though, and once that is accepted it will have to make its way from nightly, to beta, then finally to stable. So alas, not any time soon. :(
[–]
yberreby
10y ago
There's an RFC that could address the lack of type-level integers:
https://github.com/rust-lang/rfcs/pull/1657
[–]
bjz_
10y ago
Oh duh, I forgot about that - even commented on a few days ago!