Coder Social home page Coder Social logo

ringbahn's Introduction

ringbahn - a safe interface to io-uring

The Berlin Ringbahn is a double-tracked commuter rail line which forms a complete ring around the center of the city of Berlin. Similarly, io-uring is a new interface for asynchronous IO with the Linux kernel built on a double ring buffer data structure.

ringbahn is an attempt to define a good interface to perform IO on io-uring with these properties:

  • 100% memory safe
  • Completely non-blocking
  • Ergonomic with async/await syntax
  • A zero-cost abstraction with minimal overhead
  • Abstracted over different patterns for driving the io-uring instance
  • Misuse-resistant with a well implemented driver

The current version of ringbahn is highly experimental and insufficiently hardened for production use. You are strongly recommended not to deploy the code under the current version. But tests, bug reports, user feedback, and other experiments are all welcome at this stage.

Though ringbahn is a prototype, it demonstrates that a safe, ergonomic, efficient, and flexible interface to io-uring is possible in Rust. It should be a goal for the Rust community not only to have an adequate interface for io-uring, but to have the best interface for io-uring.

License

ringbahn is licensed under your choice of MIT or Apache-2.0.

ringbahn's People

Contributors

withoutboats avatar mxxo avatar evanrichter avatar

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.