[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#718237: ITP: async -- a library for OCaml asynchronous programming



Subject: ITP: async -- a library for OCaml asynchronous programming
Package: wnpp
Owner: Lifeng Sun <lifongsun@gmail.com>
Severity: wishlist
X-Debbugs-CC: debian-ocaml-maint@lists.debian.org

* Package name    : async
  Version         : 109.35.00
  Upstream Author : Jane Street Capital LLC <opensource@janestreet.com>
* URL             : https://github.com/janestreet/async
* License         : Apache-2.0
  Programming Lang: OCaml
  Description     : a library for OCaml asynchronous programming

Async uses non-preemptive user-level threads and first-class blocking
operations with blocking expressed in the type system to implement
asynchronous programming. The benefits of the approach are:

* Non-preemptive threading is simpler to reason about than pre-emptive
  threading. For the bulk of one's program, one doesn't have to think
  about race conditions, mutexes, etc. One can also use existing
  non-thread-safe code without worries.

* User level threads are much cheaper than threads provided by the
  operating system, both in creation and context switching.

* We control the scheduler for our threads, which makes it possible
  for us to do a better job for the application at hand.

* Writing low latency applications is easier -- it's harder to have an
  application block indefinitely by mistake.

-- 

Attachment: signature.asc
Description: Digital signature


Reply to: