Re: [wasm] sqlite as rfc-spec'd web-interchange-format?

Michael Richardson <mcr+ietf@sandelman.ca> Sat, 28 November 2020 06:14 UTC

Return-Path: <mcr+ietf@sandelman.ca>
X-Original-To: ietf@ietfa.amsl.com
Delivered-To: ietf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A93C83A0A4E for <ietf@ietfa.amsl.com>; Fri, 27 Nov 2020 22:14:21 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VZsP074F7PCx for <ietf@ietfa.amsl.com>; Fri, 27 Nov 2020 22:14:19 -0800 (PST)
Received: from tuna.sandelman.ca (tuna.sandelman.ca [209.87.249.19]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 774813A0A35 for <ietf@ietf.org>; Fri, 27 Nov 2020 22:14:19 -0800 (PST)
Received: from localhost (localhost [127.0.0.1]) by tuna.sandelman.ca (Postfix) with ESMTP id B4D3F389F7; Sat, 28 Nov 2020 01:15:50 -0500 (EST)
Received: from tuna.sandelman.ca ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id hUDZtrDloh8D; Sat, 28 Nov 2020 01:15:50 -0500 (EST)
Received: from sandelman.ca (obiwan.sandelman.ca [209.87.249.21]) by tuna.sandelman.ca (Postfix) with ESMTP id 3F27B389F5; Sat, 28 Nov 2020 01:15:50 -0500 (EST)
Received: from localhost (localhost [IPv6:::1]) by sandelman.ca (Postfix) with ESMTP id F1AF08F; Sat, 28 Nov 2020 01:14:17 -0500 (EST)
From: Michael Richardson <mcr+ietf@sandelman.ca>
To: kai zhu <kaizhu256@gmail.com>
cc: IETF Discussion Mailing List <ietf@ietf.org>
Subject: Re: [wasm] sqlite as rfc-spec'd web-interchange-format?
In-Reply-To: <CALPJ4700ueNSZvBfRjsD82X6dkGxTO8RaJYXrs4uC2oH8MTa9A@mail.gmail.com>
References: <CALPJ4700ueNSZvBfRjsD82X6dkGxTO8RaJYXrs4uC2oH8MTa9A@mail.gmail.com>
X-Mailer: MH-E 8.6+git; nmh 1.7+dev; GNU Emacs 26.1
X-Face: $\n1pF)h^`}$H>Hk{L"x@)JS7<%Az}5RyS@k9X%29-lHB$Ti.V>2bi.~ehC0; <'$9xN5Ub# z!G,p`nR&p7Fz@^UXIn156S8.~^@MJ*mMsD7=QFeq%AL4m<nPbLgmtKK-5dC@#:k
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-="; micalg="pgp-sha512"; protocol="application/pgp-signature"
Date: Sat, 28 Nov 2020 01:14:17 -0500
Message-ID: <4866.1606544057@localhost>
Archived-At: <https://mailarchive.ietf.org/arch/msg/ietf/0S-KcWM-IyiHmRZqrPoJ62FujxU>
X-BeenThere: ietf@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: IETF-Discussion <ietf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ietf>, <mailto:ietf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ietf/>
List-Post: <mailto:ietf@ietf.org>
List-Help: <mailto:ietf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ietf>, <mailto:ietf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 28 Nov 2020 06:14:22 -0000

It's an interesting idea.

There are quite a number of other serialization formats out there including:
bincode, msgpack, protobuf, and of course, IETF's CBOR RFC7049.  Also JSON.
For "opendata" we've would up with CSV, which I really dislike.
{So funny that the UK's data problem with COVID rates was due to some
data flow that went CSV->XLS->database, fixed when they went CSV->XLSX->database,
when there was never a reason to use XLS* at all. So perhaps this argues your
case}

The question you likely need to answer are:

1) do the sqlite people wish to turn change control over to the IETF?

2) Given the Library of Congress statement, is there actually a net benefit
   to the world?  Maybe it's already moving to defacto standard anyway.
   Would the IETF process help?  Given the stability, would there be
   any benefit for IANA?

2B) There may be NAFTA Article 10 ("Performance Specification") reasons
    for having an RFP'able specification.

3) Are there enough implementers who are not sqlite.org who would benefit?
   Is the wasm-sqlite from sqlite.org (I don't know).

I looked through the specification, and turning it into an RFC wouldn't be
hard.  You may wish to look at the work in the CELLAR WG, which is doing
something similar for archival formats for AV.

--
Michael Richardson <mcr+IETF@sandelman.ca>   . o O ( IPv6 IøT consulting )
           Sandelman Software Works Inc, Ottawa and Worldwide