Re: [vwrap] Linden Lab open source LLSD code

Joshua Bell <josh@lindenlab.com> Thu, 17 June 2010 17:38 UTC

Return-Path: <josh@lindenlab.com>
X-Original-To: vwrap@core3.amsl.com
Delivered-To: vwrap@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 0F5C13A6B0B for <vwrap@core3.amsl.com>; Thu, 17 Jun 2010 10:38:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.254
X-Spam-Level:
X-Spam-Status: No, score=0.254 tagged_above=-999 required=5 tests=[AWL=-0.370, 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 jMftzi5O3Gc7 for <vwrap@core3.amsl.com>; Thu, 17 Jun 2010 10:38:06 -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 D6B0A3A6929 for <vwrap@ietf.org>; Thu, 17 Jun 2010 10:37:50 -0700 (PDT)
Received: by vws15 with SMTP id 15so97384vws.31 for <vwrap@ietf.org>; Thu, 17 Jun 2010 10:37:52 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.220.89.166 with SMTP id e38mr1639475vcm.247.1276796272447; Thu, 17 Jun 2010 10:37:52 -0700 (PDT)
Received: by 10.220.203.201 with HTTP; Thu, 17 Jun 2010 10:37:52 -0700 (PDT)
In-Reply-To: <C2ACE7BC-4AF1-49EA-B0AA-B4C75093A646@lindenlab.com>
References: <181BEC41-396C-4E2D-ADE8-705CBAD4C31C@lindenlab.com> <62BFE5680C037E4DA0B0A08946C0933DDA3D3401@rrsmsx506.amr.corp.intel.com> <C2ACE7BC-4AF1-49EA-B0AA-B4C75093A646@lindenlab.com>
Date: Thu, 17 Jun 2010 10:37:52 -0700
Message-ID: <AANLkTimDBa6DQmg9iSYk0wLGvm8k86l2l-uhuniPRmg5@mail.gmail.com>
From: Joshua Bell <josh@lindenlab.com>
To: vwrap <vwrap@ietf.org>
Content-Type: multipart/alternative; boundary=0016e64766044512dd04893d4cf3
Subject: Re: [vwrap] Linden Lab open source LLSD code
X-BeenThere: vwrap@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Virtual World Region Agent Protocol - IETF working group <vwrap.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/vwrap>, <mailto:vwrap-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/vwrap>
List-Post: <mailto:vwrap@ietf.org>
List-Help: <mailto:vwrap-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/vwrap>, <mailto:vwrap-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 17 Jun 2010 17:38:10 -0000

FYI, I've added:

Ruby:
* A small impl that just supports XML serialization. Hopefully someone can
take it farther. This is tagged as "v3".

C++
* JSON serialization support, with unit tests. Note that Linden doesn't use
this in production (yet) so approach the code with caution.
* As proposed on the WG: asBinary() for string values now does a base64
decode and returns the binary data if successful, an empty vector otherwise;
 asString() for binary values now does a base64 encode and returns the
string.
* I limit the serialization of fractional seconds in dates to 3 places to
match other languages. This change may need to be reverted.
* I have not built/tested these changes on Windows or Mac OS, so this is not
yet tagged.