Learn uv for fun and profit, a self guided workshop to the library that powers Node.js.
Last updated 3 years ago by thlorenz .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install learnuv 
SYNC missed versions from official npm registry.


become a patron

Learn uv for fun and profit, a self guided workshop to the library that powers Node.js.


Before You Start

Read the learnuv gitbook which explains some libuv and related C language concepts that will help you complete the exercises.


Requires Python 2.6 or 2.7 to be installed. If python is not in your path set the environment variable PYTHON to its location. For example on Windows: set PYTHON=C:\Python27\python.exe

git clone https://github.com/thlorenz/learnuv && cd learnuv
npm install

Getting Started

./learnuv help


learnuv comes with build commands that you can use instead of the manual steps explained further below.

  • ./learnuv ninja Compile your sources with ninja, stored inside ./out/Debug
  • ./learnuv make Compile your sources with make, stored inside ./out/Debug
  • ./learnuv xcode Generate a learnuv Xcode project, named ./learnuv.xcodeproj

Windows Caveats

Ninja and Make do not work on windows except via cygwin.


Highly recommended since it builds faster than any of the other options, so get ninja and do:

./gyp_learnuv.py -f ninja
ninja -C out/Debug


Works on Linux and OSX.

./gyp_learnuv.py -f make
make -C out


Works on OSX only. Highly recommended to ease debugging and code navigation.

./gyp_learnuv.py -f xcode
open learnuv.xcodeproj

Visual Studio

Works on Windows only. TODO need to adapt vcbuild.bat.





Current Tags

  • 0.1.3                                ...           latest (3 years ago)

1 Versions

  • 0.1.3                                ...           3 years ago
Maintainers (1)
Today 0
This Week 1
This Month 2
Last Day 0
Last Week 0
Last Month 1
Dependencies (7)
Dev Dependencies (0)
Dependents (1)

Copyright 2014 - 2016 © taobao.org |