Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Cpoll
15 days ago
|
parent
|
context
|
favorite
| on:
My “grand vision” for Rust
Agreed. Generics are in most modern typed languages, and traits are essentially interfaces. Maybe templates means C++ templates, which are essentially generics?
nesarkvechnep
14 days ago
|
next
[–]
In C++, concepts are essentially generics where templates are more like weird macros.
mihaelm
14 days ago
|
prev
[–]
My guess is they meant metaprogramming in general (templates/generics, macros), but traits are not quite like the others.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: