Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
secondcoming
on Jan 16, 2021
|
parent
|
context
|
favorite
| on:
Why Zig when there is already C++, D, and Rust?
In short, it allows a std::map<K, V> to be queried with a type that isn't K. For example,
std::map<std::string, int> m; std::string_view sv = "mykey"; auto&& iter = m.find(sv);
nynx
on Jan 16, 2021
[–]
Oh, rust already has that.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: