タグ

libuvに関するledsunのブックマーク (2)

  • GitHub - luvit/luvit: Lua + libUV + jIT = pure awesomesauce

    Luvit 2.0 - Node.JS for the Lua Inventor Welcome to the source code for Luvit 2.0. This repo contains the luvit/luvit metapackage and all luvit/* packages as published to lit. This collection of packages and modules implements a node.js style API for the luvi/lit runtime. It can be used as both a library or a standalone executable. See the main project webpage for more details. https://luvit.io/ N

    GitHub - luvit/luvit: Lua + libUV + jIT = pure awesomesauce
    ledsun
    ledsun 2015/02/20
    これはなんだろう?結構前からあるものらしい
  • node.jsを支えるlibuvのチュートリアル"uvbook" :基礎 - 自由課題

    この文書はuvbookの日語翻訳の一部となります。文書そのものの説明その他については目次をご覧ください。 libuvの基礎 libuvは 非同期、 イベント駆動 のプログラミングスタイルを強制します。 libuvの中心的な機能はイベントループとI/Oと他の活動(activity)の通知をベースにしたコールバックを提供することです。libuvはタイマのようなユーティリティ、ノンブロッキングのネットワークのサポート、非同期のファイルシステムへのアクセス、子プロセス等を提供します。 イベントループ イベント駆動のプログラミングにおいては、アプリケーションは特定のイベントに対する興味を表明し、そのイベントが発生した時にこれらに反応します。OSか他の発生源からイベントを収集する責任はlibuvによって取り扱われ、ユーザはイベントが発生した時に実行されるコールバックを登録することができます。イベント

    node.jsを支えるlibuvのチュートリアル"uvbook" :基礎 - 自由課題
    ledsun
    ledsun 2015/02/18
    libuvの説明。イベントループの簡単な回し方サンプルなど。/ 今はコード例が変わってる。20日前に修正された。 https://github.com/nikhilm/uvbook/blob/master/code/helloworld/main.c
  • 1