3 ms·
I want to love Rust but my biggest pain point was trying to produce a simple enough REST web service, initially with Actix, though I think I was trying to use i
by giancarlostoro 6y ago
I want to love Rust but my biggest pain point was trying to produce a simple enough REST web service, initially with Actix, though I think I was trying to use it at a time where the docs were not in sync with what was released at the time. Not sure if this has changed, but I'd be willing to give Actix another try again if that's the case.
- adamch 6y agoI think the docs are much better than they used to be. Just my personal experience, but I found Actix Web very easy to get started with for my job. There's also a Gitter chat room where people are pretty responsive.
- giancarlostoro 6y agoI will have to give it another try then if that's the case, good to hear the experience has improved. I think what my issue was when I tried it was the docs was out of sync with the version mentioned in the readme and so it became more confusing trying to match things up to a functioning application.
- kamikaz1k 6y agoYou should give rocket a try! The developer ergonomics are a lot better. Assuming this is you learning about rust. Because performance-wise rocket is slower. But they're working on adding async support, after which they should be showing a lot better numbers.
- giancarlostoro 6y agoIs it compiling under the stable compiler though? I tried switching compilers to try out Rocket and it just didn't work out very well for me, compiler errors everywhere that I couldn't seem to find a reasonable answer for. I'm not a fan of switching to anything that isn't considered stable unless I absolutely have to.
- estebank 6y agoI believe async support is already on master as well as stable support, but there hasn't been a release yet. There were two unstable features that Rocket was waiting on (which have been stabilized some releases back). Using nightly rustc is fine for the most part, but I wouldn't want to rely on it for production services.