|
|
|
|
|
by jdright
2940 days ago
|
|
I've done a simple hobby project in Rocket and ported to Actix. I'm not experienced with web services and my project was very limited for learning purposes, here my take away: I like both and for me Rocket was way more ergonomic for creating routes dealing as if they're simple functions where input and output are dealt automatically with (from request and to response). Actix advantage is actors and is easy to be fully async, I had some issues dealing with it but most of my troubles were extracting request data and building responses. When actix-web will support magic as Rocket (once proc-macros becomes stable) then actix-web will have the edge if Rocket don't become async-ready and stable before. For both it is only question of missing stable rust features and actix-web is already running on stable. actix-web:
- easy
- async
- stable Rocket:
- stupidly easy
- sync
- nightly |
|