From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by sympa.inria.fr (Postfix) with ESMTPS id 103847EE51 for ; Thu, 9 May 2013 18:29:30 +0200 (CEST) Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of ygrekheretix@gmail.com) identity=pra; client-ip=209.85.192.172; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="ygrekheretix@gmail.com"; x-sender="ygrekheretix@gmail.com"; x-conformance=sidf_compatible Received-SPF: Pass (mail3-smtp-sop.national.inria.fr: domain of ygrekheretix@gmail.com designates 209.85.192.172 as permitted sender) identity=mailfrom; client-ip=209.85.192.172; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="ygrekheretix@gmail.com"; x-sender="ygrekheretix@gmail.com"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of postmaster@mail-pd0-f172.google.com) identity=helo; client-ip=209.85.192.172; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="ygrekheretix@gmail.com"; x-sender="postmaster@mail-pd0-f172.google.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AqgBAMzNi1HRVcCsm2dsb2JhbABSgz6Cdb0VehYOAQEBAQEGCwsJFCiCHwEBBAE6BgEbHgMBCwYFCykSIxEBBQEcGYd5AQMJBQEMoHiMPYJ+hGIKGScNWIc+AQUMjyMWgz8DiRiFZYguAYEmjio/hEI X-IPAS-Result: AqgBAMzNi1HRVcCsm2dsb2JhbABSgz6Cdb0VehYOAQEBAQEGCwsJFCiCHwEBBAE6BgEbHgMBCwYFCykSIxEBBQEcGYd5AQMJBQEMoHiMPYJ+hGIKGScNWIc+AQUMjyMWgz8DiRiFZYguAYEmjio/hEI X-IronPort-AV: E=Sophos;i="4.87,641,1363129200"; d="scan'208";a="13726460" Received: from mail-pd0-f172.google.com ([209.85.192.172]) by mail3-smtp-sop.national.inria.fr with ESMTP/TLS/RC4-SHA; 09 May 2013 18:29:29 +0200 Received: by mail-pd0-f172.google.com with SMTP id 6so2093794pdd.31 for ; Thu, 09 May 2013 09:29:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:date:from:to:subject:message-id:in-reply-to:references :x-mailer:mime-version:content-type:content-transfer-encoding; bh=8aGV37P+L214vtyCC5htQfhEdTTI6c8O0Y2bKADSHCw=; b=D7B1kI62lXqMUSQiO8RWXnmp9gOAzK09/Y2LCIAONYYF5amINDp2Ie2+Qd5k0Bmo6y rL9JyVJbMMP6YCGgRxVhzaVvFHDl7Mkguu6+IoewplgAaNYCPRBvl27ol6XGIeVlBt+I 5grNzWszLHWu5TkoLaU+hbvdOhKVrQE9JvngPQldPKHAb9g5TNF9Rpo40vSxNI+N7YJA C4T9nfDOsKRoSbrTD2moAagMUMAOxDRwilEBfAvx4iGh2es2N0zkU4MwdpKX1TfF3zPg TyWpsdEP+YtmlBVYISoZRmwbfTPNI3ZyEwfcAZBnsudfbp9AIIc/5NPLj6xEVgrDKprd A9hA== X-Received: by 10.66.222.196 with SMTP id qo4mr13808870pac.71.1368116967279; Thu, 09 May 2013 09:29:27 -0700 (PDT) Received: from kiwi.local.tld (cm247.eta97.maxonline.com.sg. [116.88.97.247]) by mx.google.com with ESMTPSA id ya4sm3623927pbb.24.2013.05.09.09.29.25 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 09 May 2013 09:29:26 -0700 (PDT) Date: Fri, 10 May 2013 00:29:23 +0800 From: ygrek To: caml-list@inria.fr Message-Id: <20130510002923.d4a6a9fb6bb4b5c4a5cddd96@gmail.com> In-Reply-To: References: X-Mailer: Sylpheed 3.3.0 (GTK+ 2.24.10; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Caml-list] String, Array, Bigarray.char On Thu, 9 May 2013 10:21:39 -0400 Anil Madhavapeddy wrote: > You should look at either Lwt or Core/Async, which both provide wrappers > over Bigarray, and asynchronous alternatives to using Unix and threads. > > Lwt_bytes: http://ocsigen.org/lwt/api/Lwt_bytes > Bigstring: https://ocaml.janestreet.com/ocaml-core/latest/doc/core/Bigstring.html There are also write/pwrite wrappers with bigarray argument in extunix - http://extunix.forge.ocamlcore.org/ -- ygrek http://ygrek.org.ua