Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
crossroads1112
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
crossroads1112
10y ago
I wrote something similar in C99 as well for another project. Initially, I used the same form used in this blog post however it's easy to see that the ergonomics for accessing the data are pretty terrible. I eventually moved to a solut
2.
▲
by
crossroads1112
10y ago
Do you not consider adding a PPA to be straightforward? Or downloading the rustup binary and simply running it?
3.
▲
by
crossroads1112
10y ago
In Rust, lossy conversions only occur if you you explicitly write `var as type` and even that syntax is limited to certain types e.g. you can't coerce an integer to a function. In order to do something crazy like that, you'd need