6 ms·
Yes, currently doing something similar to that, but I'd much rather have it as a first-citizen feature. Returning result directly from main sounds very interest
by firebacon 8y ago
Yes, currently doing something similar to that, but I'd much rather have it as a first-citizen feature. Returning result directly from main sounds very interesting! I will have to look into that thx.
EDIT: I assume you mean RFC1937? Looks like it isn't implemented yet, so we will probably have to at least another year before we can get it in stable rust. But yes - without having read the entire RFC - I think that was what I was looking for!
- steveklabnik 8y agoPart of it is implemented; see https://play.rust-lang.org/?gist=d442c47833587ddeff2158492b0a9ee7&version=stable&mode=debug https://play.rust-lang.org/?gist=d442c47833587ddeff2158492b0... The rest of it makes it even better; it's a bit limited in ways right now.
- firebacon 8y agoOh nice! Will start using that as soon as we get to 1.26 :) -- currently stuck on 1.24 (upgrading takes a bunch of work since we're building under openembedded/bitbake, so I wait until the new version hits the upstream layer)
- steveklabnik 8y agoGreat! :D