Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
icen
on June 1, 2017
|
parent
|
context
|
favorite
| on:
Rust: A Scala Engineer's Perspective
Somewhat facetiously:
fn identity<T>(t: T) -> T { t }
Has no trait bounds, and is clearly generic. You typically can't do very much with completely free type variables, but Rust has syntactic support for them.
Nullabillity
on June 1, 2017
[–]
And even that implicitly relies on the Sized trait.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: