29 ms·
You can indeed use this on stable Rust today! Right now 1.9.0 is the minimum supported version due to the usage of `catch_panic` in a few places. I'd recommend
by alexcrichton 10y ago
You can indeed use this on stable Rust today! Right now 1.9.0 is the minimum supported version due to the usage of `catch_panic` in a few places.
I'd recommend a beta compiler for now though to compile some of the examples. There's a bug in the stable compiler which causes them to take up to 8x longer to compile, but beta/nightly are both speedy!
- vvanders 10y agoThat's so awesome. I was hoping that was the case. Serious Kudos, it feels like a lot of the promises of Rust are really paying off here.
- jdub 10y ago"promises" applause
- yoshuaw 10y agoHow do futures deal with panics? - should they even?
- aturon 10y agoPanics are caught at the "task" level -- and there's usually one task per connection. They don't take down the entire server (since tasks are isolation boundaries). Right now, nothing happens with the panic after it's caught, but we want to add hooks for doing something with it. Coming soon!