Learn uv for fun and profit, a self guided workshop to the library that powers Node.js.
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
./learnuv help
learnuv comes with build commands that you can use instead of the manual steps explained further below.
./out/Debug
./out/Debug
./learnuv.xcodeproj
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
./out/Debug/01_system_info
Works on Linux and OSX.
./gyp_learnuv.py -f make
make -C out
./out/Debug/01_system_info
Works on OSX only. Highly recommended to ease debugging and code navigation.
./gyp_learnuv.py -f xcode
open learnuv.xcodeproj
Works on Windows only. TODO need to adapt vcbuild.bat.
./learnuv
MIT
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。