Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
ReleaseCandidat
on Jan 13, 2024
|
parent
|
context
|
favorite
| on:
Doing First Grade Math in Rust's Type System
As I've already said, nowadays there are const generics which do (almost) the same. But before them, these were the only way to use integer values in generics.
They came with 1.51:
https://blog.rust-lang.org/2021/03/25/Rust-1.51.0.html
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
They came with 1.51: https://blog.rust-lang.org/2021/03/25/Rust-1.51.0.html