asyncio
libuv
asyncio | libuv | |
---|---|---|
3 | 89 | |
895 | 25,729 | |
0.0% | 0.7% | |
3.4 | 9.2 | |
over 1 year ago | 5 days ago | |
C++ | C | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
asyncio
- Good C++ Source Code
-
C++20 coroutine benchmark result, using my coroutine library
I publish my coroutine library: asyncio(https://github.com/netcan/asyncio) that imitate python asyncio, some people may be interested in the performance of c++20 coroutine features, so I benchmark my library in localhost, and in terms of comparisons with other methods.
- Asyncio: Imitate Python's Asyncio For C++
libuv
-
The many, many, many JavaScript runtimes of the last decade
I'm not familiar with the term "context tracking", and management of the event loop is a bit lower level than I normally go, but I do know several runtimes use libuv (https://libuv.org) to handle asynchronous I/O, the same as Node.js (which it was created for).
I'm sure there will be JavaScript runtimes out there using some of Rust's asynchronous schedulers like tokio (https://docs.rs/tokio/latest/tokio/), too, but I wouldn't be surprised if a large number of them just do things bespoke.
-
JavaScript's Asynchronous Execution: V8 and the Event Loop
libuv Source Code (Version 1.48.0, 2025)
-
NodeJS Fundamentals: event loop
Understanding these phases is critical for predicting the order of execution and debugging performance issues. There's no formal RFC for the event loop itself, but the libuv documentation (https://libuv.org/) is the definitive source.
-
How to Use Libuv In Your Zig Project
Libuv describes itself as a multi-platform support library with a focus on asynchronous I/O. It is widely used in many web servers (e.g., Kestrel) and runtimes such as Node.js and Python (via uvloop). As of Zig 0.14.0, there is no native async I/O, so you must work directly with threads or create your own async API using OS primitives like epoll or kqueue. In many cases, you would likely choose a cross-platform library rather than implementing your own async API. That’s where using libuv, libevent, or libxev (written in Zig) becomes useful.
-
Bare: Run JavaScript Everywhere
It seems that Bare is also built on top of V8 and libuv, just like Node.js.
> Bare is built on top of https://github.com/holepunchto/libjs, which provides low-level bindings to V8 in an engine independent manner, and https://github.com/libuv/libuv, which provides an asynchronous I/O event loop.(from the README)
Moreover, you actually need Node.js and npm to install and run it. You need another JavaScript runtime as a prerequisite to install this JavaScript runtime…
> npm i -g bare (also from the README)
I don't get it – is it worth it to choose Bare over a more established solution?
-
Node.js Event Loop: The Key to Scalable and Efficient Applications
The event loop is the core mechanism in Node.js that enables non-blocking I/O operations. Despite Node.js being single-threaded by default, the event loop allows it to perform asynchronous operations by offloading tasks to the system kernel or Libuv's thread pool. This makes Node.js highly efficient for I/O-heavy applications, such as web servers and APIs.
-
A year of uv: pros, cons, and should you migrate
I know good naming is hard, and there are an awful lot of project names that clash, but naming a project uv is unfortunate due to the ubiquitous nature of libuv
https://libuv.org/
- libuv e Lua
-
Ask HN: Why hasn't the JavaScript event loop model scaled horizontally?
Almost everyone running Node in a machine with multiple cores is using multithreading.
Node is multithreaded by default. I believe the default setting is using 4 threads. Most of Node is written in C++.
The JS code written by end users is single threaded (most of it at least) but IO etc is all executed with libuv.
https://libuv.org/
- Criando uma Runtime
What are some alternatives?
Boost.Asio - Asio C++ Library
libevent - Event notification library
libev - Full-featured high-performance event loop loosely modelled after libevent