[Cbor] Re: Abandon cbor-packed (Re: Early allocation for packed CBOR)

Carsten Bormann <cabo@tzi.org> Mon, 16 December 2024 04:33 UTC

Return-Path: <cabo@tzi.org>
X-Original-To: cbor@ietfa.amsl.com
Delivered-To: cbor@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EEF60C14CE53 for <cbor@ietfa.amsl.com>; Sun, 15 Dec 2024 20:33:43 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.906
X-Spam-Level:
X-Spam-Status: No, score=-1.906 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GjYMG7BlL7Da for <cbor@ietfa.amsl.com>; Sun, 15 Dec 2024 20:33:41 -0800 (PST)
Received: from smtp.zfn.uni-bremen.de (smtp.zfn.uni-bremen.de [134.102.50.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 91606C14F682 for <cbor@ietf.org>; Sun, 15 Dec 2024 20:33:39 -0800 (PST)
Received: from smtpclient.apple (p548dc3ec.dip0.t-ipconnect.de [84.141.195.236]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4YBRsF1TjPzDCbG; Mon, 16 Dec 2024 05:33:37 +0100 (CET)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3826.300.87.4.3\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <20241216065103.77270e2f@nuclight.lan>
Date: Mon, 16 Dec 2024 05:33:26 +0100
Content-Transfer-Encoding: quoted-printable
Message-Id: <9B813407-4EA2-4A87-9AC9-DE9DF4BC79DD@tzi.org>
References: <CALaySJKDFscUBGw4CPspXJvUTkXywVHc_FrmhO3ybBWTrwjGXw@mail.gmail.com> <CALaySJJEXkey9vLAp8VqDXmPsWpxiWN9jjtVnGio1nMQ4K+mDQ@mail.gmail.com> <CALaySJJfc+tET4Vm5UQjHPK5mf61O0iR-1i6=X32CYtWxZLWTQ@mail.gmail.com> <CALaySJKdrk7aPzhT=kbE1B8pq1EBw74nmx_peSJMAoHsG5jyVQ@mail.gmail.com> <CALaySJ+fWX4zEnE5v-Q9R6eCv=kSJjnc-fsXL5PGPgac1GJAcA@mail.gmail.com> <B807C9D3-39A4-4024-BC1D-85DD84EA1735@tzi.org> <DFE56705-CCDD-4172-B577-C873E3DB4898@tzi.org> <5FEA5C07-4A39-4B58-B2AE-F261D111FCE6@cursive.net> <D0618F67-4868-4745-A526-F73DF1A98E1B@tzi.org> <98C6BEDA-C4B2-4657-ABE2-19FE637CE782@cursive.net> <2A875D49-DD88-42D9-969D-0841A6B41F95@tzi.org> <PH7PR02MB92920676E8817271E547F82FB73E2@PH7PR02MB9292.namprd02.prod.outlook.com> <5FBB4831-3E96-44E3-A2AA-B2D83B6C1B05@cursive.net> <03254343-C2C1-4725-8E69-1CF532472C25@tzi.org> <b6788b18-78f3-48e7-b86a-1e369123e7b1@ri.se> <20241215062400.795b7401@nuclight.lan> <CFAB016F-EB06-4FEE-A7F6-427E70E0332C@tzi.org> <20241216065103.77270e2f@nuclight.lan>
To: Vadim Goncharov <vadimnuclight@gmail.com>
X-Mailer: Apple Mail (2.3826.300.87.4.3)
Message-ID-Hash: OGPQHRUBKCSNBGPXAPE33JMMZY5XBS2K
X-Message-ID-Hash: OGPQHRUBKCSNBGPXAPE33JMMZY5XBS2K
X-MailFrom: cabo@tzi.org
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-cbor.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: Marco Tiloca <marco.tiloca=40ri.se@dmarc.ietf.org>, Joe Hildebrand <hildjj@cursive.net>, Michael Jones <michael_b_jones@hotmail.com>, CBOR <cbor@ietf.org>
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [Cbor] Re: Abandon cbor-packed (Re: Early allocation for packed CBOR)
List-Id: "Concise Binary Object Representation (CBOR)" <cbor.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/yq8ohTG0jHqJVP2nqi2C9jiEGns>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cbor>
List-Help: <mailto:cbor-request@ietf.org?subject=help>
List-Owner: <mailto:cbor-owner@ietf.org>
List-Post: <mailto:cbor@ietf.org>
List-Subscribe: <mailto:cbor-join@ietf.org>
List-Unsubscribe: <mailto:cbor-leave@ietf.org>

On 16. Dec 2024, at 04:51, Vadim Goncharov <vadimnuclight@gmail.com> wrote:
> 
> angry

Vadim,

I very much see that you are angry, but I’m having a hard time finding content in your message.

First you dismiss my observation that Packed CBOR is not a generic (byte sequence) data compression scheme.
Thank you for the pointers to various such schemes that may be applicable for constrained devices in certain configurations; I’m sure it would be worth to come up with a paper that compares such schemes for the use with CBOR and maybe makes some recommendations.
But this is not what Packed CBOR is about, and Packed CBOR is not “ineffective” — it works fine, thank you.

Then you argue for abandoning Packed CBOR in favor of a rewrite of CBOR that is incompatible with CBOR as defined in RFC 8949 and claim that “it is very simple to retain compatibility - “modified" CBOR is just wrapped into bstring/array under tag”.
Certainly, we also can transport JSON or ASN.1 BER inertly in CBOR text or byte strings, I’m not that interested in adding a few more “mostly CBOR” or “modified CBOR” to that list.
What you wrote in your message about what this CBAR (?) could be is incomprehensible, unfortunately.

Then you deny that CBOR (itself?) is extensible, when clearly it is using the tag mechanism — the two table setup tags in cbor-packed draft are useful as “batteries included”, and other table setup mechanisms can be added using additional setup tags.

Grüße, Carsten