learnuv

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

  • 所有者: thlorenz/learnuv
  • 平台:
  • 许可证: MIT License
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

learnuv

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

screenshot

Before You Start

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

Installation

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

Building

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.

Ninja

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

Make

Works on Linux and OSX.

./gyp_learnuv.py -f make
make -C out
./out/Debug/01_system_info

Xcode

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.

Running

./learnuv

License

MIT

主要指标

概览
名称与所有者thlorenz/learnuv
主编程语言C
编程语言JavaScript (语言数: 4)
平台
许可证MIT License
所有者活动
创建于2014-10-04 21:23:13
推送于2023-08-02 02:40:20
最后一次提交2021-06-15 11:29:10
发布数2
最新版本名称v0.1.3 (发布于 2018-02-14 11:34:44)
第一版名称v0.1.2 (发布于 2014-12-29 15:43:49)
用户参与
星数754
关注者数22
派生数69
提交数81
已启用问题?
问题数22
打开的问题数9
拉请求数8
打开的拉请求数1
关闭的拉请求数14
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?