[hybi] WebSockets / ECMAScript / Binary data

Joshua Bell <josh@lindenlab.com> Wed, 07 April 2010 18:56 UTC

Return-Path: <josh@lindenlab.com>
X-Original-To: hybi@core3.amsl.com
Delivered-To: hybi@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 57A793A68F3 for <hybi@core3.amsl.com>; Wed, 7 Apr 2010 11:56:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.624
X-Spam-Level:
X-Spam-Status: No, score=0.624 tagged_above=-999 required=5 tests=[AWL=0.000, BAYES_50=0.001, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WSX7i2wuyGIW for <hybi@core3.amsl.com>; Wed, 7 Apr 2010 11:56:38 -0700 (PDT)
Received: from mail-vw0-f44.google.com (mail-vw0-f44.google.com [209.85.212.44]) by core3.amsl.com (Postfix) with ESMTP id D183B3A67F5 for <hybi@ietf.org>; Wed, 7 Apr 2010 11:56:37 -0700 (PDT)
Received: by vws15 with SMTP id 15so665457vws.31 for <hybi@ietf.org>; Wed, 07 Apr 2010 11:56:32 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.220.161.78 with HTTP; Wed, 7 Apr 2010 11:56:32 -0700 (PDT)
Date: Wed, 07 Apr 2010 11:56:32 -0700
Received: by 10.220.4.23 with SMTP id 23mr4745437vcp.71.1270666592082; Wed, 07 Apr 2010 11:56:32 -0700 (PDT)
Message-ID: <h2of72742de1004071156qdbf425f9h7839bdc8cb269a6d@mail.gmail.com>
From: Joshua Bell <josh@lindenlab.com>
To: hybi@ietf.org
Content-Type: multipart/alternative; boundary="001517576f36d962250483aa1e24"
Subject: [hybi] WebSockets / ECMAScript / Binary data
X-BeenThere: hybi@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Server-Initiated HTTP <hybi.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/hybi>, <mailto:hybi-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/hybi>
List-Post: <mailto:hybi@ietf.org>
List-Help: <mailto:hybi-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/hybi>, <mailto:hybi-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 07 Apr 2010 18:56:39 -0000

At the HyBi meeting at IETF77 in Anaheim, the subject of binary data in
WebSockets came up. In the Jabber room backchatter, I mentioned that TC-39
(the ECMA Technical Committee responsible for ECMAScript) appeared to be
looking into binary data support, based on my lurking on the es-discuss list
(https://mail.mozilla.org/listinfo/es-discuss)

To revisit this with a bit of news:

* Various binary data APIs have been discussed, based on proposals from
community efforts - one thread from last year is at
https://mail.mozilla.org/pipermail/es-discuss/2009-November/010116.html

* In January, Vladimir Vukićević (and others) working on WebGL factored out
the "Typed Arrays" functionality into a standalone spec, and brought it to
the es-discuss list (
http://www.mail-archive.com/es-discuss@mozilla.org/msg03735.html)

* Since then, Vlad and others have been working to refine the proposal. The
latest is at:
https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl/doc/spec/TypedArray-spec.htmland
is being discussed on the public_webgl list (
http://www.khronos.org/webgl/public-mailing-list/).

While browser APIs are out of scope for HYBI, it seemed that there was
interest from the attendees in the timeframe under which binary data might
be usable by WebSocket clients and thus important to support in the
protocol. At the risk of predicting the behavior of Web browser vendors, the
loose answer to that might be: "as soon as WebGL is deployed", which has the
potential of being quite soon... and perhaps even roughly aligned with the
deployment of WebSockets implementations in browsers.