async-std ist eine asynchrone Rust-Laufzeitumgebung und eine Bibliothek für nicht-blockierende I/O. Sie dient als asynchrone Standardbibliothek und bietet eine Reihe von Alternativen zur Rust-Kernbibliothek für das Management paralleler Aufgaben, Netzwerke und Dateisystemzugriffe.
Die Hauptfunktionen von async-rs/async-std sind: Asynchronous I/O Libraries, Asynchronous Task Execution, Asynchronous Programming, Asynchronous Runtimes, Asynchronous Standard Libraries, Asynchronous Mirroring, Concurrent Task Execution, Non-blocking I/O.
Open-Source-Alternativen zu async-rs/async-std sind unter anderem: amphp/amp — Amp is a non-blocking concurrency framework for PHP. It provides a core infrastructure for writing asynchronous… tokio-rs/mio — Mio is a low-level I/O library for Rust that provides an event-driven framework for monitoring multiple network… rust-lang/futures-rs — Zero-cost asynchronous programming in Rust. chriskohlhoff/asio — Asio is a C++ library for performing network and low-level I/O operations using a consistent asynchronous model that… monoio-rs/monoio — monoio is a high-performance asynchronous runtime and executor for Rust. It implements a thread-per-core concurrency… smol-rs/smol — Smol is a lightweight Rust asynchronous runtime and task executor. It provides a suite of foundational tools for…
Amp is a non-blocking concurrency framework for PHP. It provides a core infrastructure for writing asynchronous applications using an event loop to schedule operations, timers, and signals within a single process. The project implements a coroutine library that utilizes fibers to suspend and resume function execution. This allows the system to handle concurrent tasks without blocking the main execution thread, optimizing CPU usage during input and output operations. It further manages pending operation results through a future and promise implementation. The framework covers a broad range of
Mio is a low-level I/O library for Rust that provides an event-driven framework for monitoring multiple network sockets and file descriptors. It acts as a portable wrapper for operating system native polling systems, including epoll, kqueue, and IOCP, allowing applications to trigger events when resources are ready for reading or writing without blocking the execution thread. The library provides a non-blocking socket interface for managing TCP, UDP, and Unix sockets. It distinguishes itself through a vectored I/O implementation, enabling scatter-gather reads and writes across multiple buffer
Zero-cost asynchronous programming in Rust
Asio is a C++ library for performing network and low-level I/O operations using a consistent asynchronous model that avoids blocking program execution. It provides a portable, cross-platform interface for network socket communication across different operating systems, and manages multiple asynchronous operations without requiring explicit thread management or locking. The library implements a proactor-based asynchronous model where operations post completion handlers to a queue for later execution, and wraps operating system I/O multiplexing mechanisms like epoll, kqueue, IOCP, and select in