This ‘book’ is a small set of tutorials about using libuv as a high performance evented I/O library which offers the same API on Windows and Unix.
It is meant to cover the main areas of libuv, but is not a comprehensive reference discussing every function and data structure. The official libuv documentation may be consulted for full details.
This book is still a work in progress, so sections may be incomplete, but I hope you will enjoy it as it grows.
Who this book is for¶
If you are reading this book, you are either:
a systems programmer, creating low-level programs such as daemons or network services and clients. You have found that the event loop approach is well suited for your application and decided to use libuv.
This book assumes that you are comfortable with the C programming language.
Since then libuv has continued to mature and become a high quality standalone library for system programming. Users outside of node.js include Mozilla’s Rust programming language, and a variety of language bindings.
This book and the code is based on libuv version v1.3.0.