Giter VIP home page Giter VIP logo

Comments (3)

alexcrichton avatar alexcrichton commented on June 9, 2024

I'm not personally intimately familiar with rotor, but my impression is that it's a state machine composition library in which case it fits in perfectly with futures (which also compile to state machines). In that sense I'm under the impression that they'd complement one another why then trying to compete.

from tokio-core.

bluejekyll avatar bluejekyll commented on June 9, 2024

I looked at Rotor briefly. It is definitely similar to Tokio, but it's not built around the futures-rs library (which didn't exist when it came out). I'd say that at this point in time there is a lot more activity around Tokio than Rotor, but that could be a myopic perspective. If Rotor were to build around the futures-rs library, then it would be very similar to Tokio, I'd say that's the biggest difference. What it means in the end, imo, is that the futures-rs abstractions make it easier to work with the Tokio implementations.

from tokio-core.

KodrAus avatar KodrAus commented on June 9, 2024

I asked this question recently on the users discourse and got some feedback from @seanmonstar.

tokio looks like it's giving you a lot more out of the box than rotor, and with futures seems to compose a bit more easily across different kinds of protocols in the one loop. I've had a lot of success with rotor running loops with just a single kind of protocol, it's been great for composing complex state machines in a hierarchy like @alexcrichton suggests.

EDIT: Might be worth point out that I'm kinda talking more about the whole tokio ecosystem and the whole rotor ecosystem than just rotor and tokio-core.

from tokio-core.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.