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?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?