Neobuffer: Safe, Lock Free, Cross-Process Channels in Rust

Neobuffer allows us to perform cross-process communications with extreme performance (upward of 12310MB/s) in safe Rust. It is an extensible framework for writing custom channels in Rust as well. In this talk we’ll discuss the motivations behind Neobuffer and it’s current implementation.

Abstract

Neobuffer allows us to perform cross-process communications with extreme performance (upward of 12310MB/s) in safe Rust. It is an extensible framework for writing custom channels in Rust as well. In this talk we’ll discuss the motivations behind Neobuffer and it’s current implementation.
While Rust provides, out of the box, many different data structures for cross-thread synchronization and communication, the same is not true for their cross-process counterparts. In this talk we present the results of the research at Standard Cognition on cross-process channels in Rust, an effort headed by myself (Bernardo Meurer/lovesegfault), Leo Gaspard (ekleog), and Simonas Kaslauskas (nagisa), contained in a (soon-to-be) open source crate we call Neobuffer. Apart from our reference implementation, in the form of an SPMC channel backed by a ringbuffer, we also explore the necessary components and future work related to cross-process communication in Rust, such as an upcoming MPMC variation of neobuffer.

Video

RustLab is a conference made by Develer.
Develer is a company based in Campi Bisenzio, near Florence. Our motto is : "Technology to give life to your products". We produce hardware and software to create exceptional products and to improve industrial processes and people's well being.
In Develer we have passion for the new technologies and we offer our clients effective solutions that are also efficient, simple and safe for the end users. We also believe in a friendly and welcoming environment where anybody can give their contribution. This passion and this vision are what we've been driven to organize our conference "made by developers for developers".

Subscribe to our newsletter

We hate spam just as much as you do, which is why we promise to only send you relevant communications. We respect your privacy and will never share your information with third parties.
©2024 RustLab | The international conference on Rust in Florence-Design & devCantiere Creativo-Made withDatoCMS