Re: [Cbor] Updated Drafts for dCBOR I-D and Gordian Envelope Structured Data Format I-D & IANA Tag Registration
Laurence Lundblade <lgl@island-resort.com> Wed, 10 May 2023 17:55 UTC
Return-Path: <lgl@island-resort.com>
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 03E46C1CAB21 for <cbor@ietfa.amsl.com>; Wed, 10 May 2023 10:55:25 -0700 (PDT)
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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001] 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 pA795-RkdW3a for <cbor@ietfa.amsl.com>; Wed, 10 May 2023 10:55:24 -0700 (PDT)
Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on20700.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe59::700]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5771AC1CA555 for <cbor@ietf.org>; Wed, 10 May 2023 10:55:24 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CGoNlKScjA1JzwuXdWetBHPqnz4TwhH2k/3x5VCfBmRbZZaMudQamq8Xoro7KJ8U1v/wK1VyfPLVRMhqzV4sl8q5NZrr8cLmZxyXwP2HCAXdRi4MxpvjkK4SWNbdGR5cqo4vZfyy9e1PkAPBnURuHt4oVWLXVziDCGsoyQHrZzRhLGFQ1PDURdZhx1Jg4922fSRMgTpbUTTbjTXS3j8ZBe4xQkY+B6bsEdnCSrhcaViZoyvyV4tw/2Wy+kF7IrLR+4vNqPJbbF4FnG0OP8zz1UHnGCGwwzG8fp47fyTYr4366fcZJi5acRmgj/Faq5Wo7Z4pKtDDntZqrsFS8w6/QQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=2MypxKZD0HYOohmYISiGbRQawo0VZMmjGYMUj4f+z70=; b=XTch20mdAIGvl1Tkt689NNxTDnITq1PmpNCXFgiUHhqzB68jzNikUHcp1DIqB/wulfH7Pzibbq04sciS/+8l8z/wM+ieILinmZMLtlzLFMCrutQ9BsV44+SZViPm0VuYIdjPTJxQM+KGZdz8Oqqi/O76I/7KZc46yVl6+WdUJfiNZppUL7Wd3D7WhUAAECs/ng8fWeTpHu1mmZIn736IM6iPHzJCoYzm7lUWBNT8qb1TjA5GFMkvmKZjaZdc8Y5sPlq3uCNRppHhG7kMQxkaU56sI63Y9oUGHlHaA+LHigandst/da/xf2SNCKcfQgL1MgVp31a5t5VHAME7Ii3UtQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=island-resort.com; dmarc=pass action=none header.from=island-resort.com; dkim=pass header.d=island-resort.com; arc=none
Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=island-resort.com;
Received: from PH7PR22MB3092.namprd22.prod.outlook.com (2603:10b6:510:13b::8) by PH7PR22MB3061.namprd22.prod.outlook.com (2603:10b6:510:134::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6387.20; Wed, 10 May 2023 17:55:19 +0000
Received: from PH7PR22MB3092.namprd22.prod.outlook.com ([fe80::489:cd46:282b:2285]) by PH7PR22MB3092.namprd22.prod.outlook.com ([fe80::489:cd46:282b:2285%4]) with mapi id 15.20.6387.018; Wed, 10 May 2023 17:55:19 +0000
From: Laurence Lundblade <lgl@island-resort.com>
Message-Id: <62FCDF82-9766-431F-A996-BF820D5564C5@island-resort.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_32EE2547-B5DD-4F0D-B12D-B2D436CD34BC"
Date: Wed, 10 May 2023 10:55:15 -0700
In-Reply-To: <PH0PR02MB7256A94640C7C02C75C3795FF2779@PH0PR02MB7256.namprd02.prod.outlook.com>
Cc: Carsten Bormann <cabo@tzi.org>, Wolf McNally <wolf@wolfmcnally.com>, Christopher Allen <christophera@lifewithalacrity.com>, "cbor@ietf.org" <cbor@ietf.org>, "Shannon.Appelcline@gmail.com" <Shannon.Appelcline@gmail.com>
To: Jeremy O'Donoghue <jodonogh@qti.qualcomm.com>
References: <CAAse2dEFB_FVP6_KkNANSYPW+yX4-M9pN3YkUq5=FTgLZnyWGw@mail.gmail.com> <4EBE3640-5F7F-46B8-961A-D1872A6A0CA4@tzi.org> <463016EF-0DAB-45D4-AB30-53FB2B76F52B@wolfmcnally.com> <DD0E7621-EE3A-496E-9D2C-1CD00E2D92F9@tzi.org> <PH0PR02MB7256A94640C7C02C75C3795FF2779@PH0PR02MB7256.namprd02.prod.outlook.com>
X-Mailer: Apple Mail (2.3445.104.21)
X-ClientProxiedBy: BYAPR04CA0033.namprd04.prod.outlook.com (2603:10b6:a03:40::46) To PH7PR22MB3092.namprd22.prod.outlook.com (2603:10b6:510:13b::8)
MIME-Version: 1.0
X-MS-PublicTrafficType: Email
X-MS-TrafficTypeDiagnostic: PH7PR22MB3092:EE_|PH7PR22MB3061:EE_
X-MS-Office365-Filtering-Correlation-Id: acf48b27-6c52-4dc0-0966-08db517fb7c8
X-MS-Exchange-SenderADCheck: 1
X-MS-Exchange-AntiSpam-Relay: 0
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: xWMjh6oGNAItylodeHG3+jEJQKnq+JpP8xzsoBrddFMCbiR2BAZFkGS4buyds4xDGa6qGmo9I7e3z+O9FSVaz0PFMf6c2nSZVMsPp+FjDOgvKrA9rG9qUsvn92eVcCE07EZdW8B8TjWsiNgMCqKDNwnZIBk23e4Ring+K4NFu/ZRR6g1Eu6hN4d7wACE4J8VTCWEaVPOSHuv/vI4RSAFlQPVYHZpKPh12TPsj7zoVtfUCjLH4gzonnv+XHVhXZzySI3LiQPosJTvNl/0ObiUuW+styDj7Kj22YTZ5JRCwIlLwMOBo1TzHcda32mvqkE6BSiDLOuxSqMMlXNFy1hxgm7QfF37o3qF2MZi+Nw/8beRbVoFRdlIiaA3uF2QXt7tnzKP6BQOeCflc4ZWqjW7KwCSgot1+WdVnyGhS7tGANkd9VOqW1PccMRNAOTz4sOXnK/en6Ch98a9G9f4jj0Hkf8nABGg9ko9b+OBClIOW/6WL+6g9g8UXPjPxL2QlAYQ9XqWfRM6t6ZxlYLHz8IBjihf2xN6GOabxZZ8FIG0koM7BBIj41UUeN/JOq8XIOze2gA1EpJel7z7WjQZwN6tHEq0zdMag7/mTTSeGHeyV08LdtYywA6zd8sicrSxYcTjE8AlBLthq2cRAFOwH8UPnQ==
X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH7PR22MB3092.namprd22.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(376002)(346002)(136003)(39830400003)(396003)(366004)(451199021)(6506007)(6512007)(83380400001)(26005)(186003)(53546011)(2616005)(478600001)(54906003)(316002)(41300700001)(66946007)(38350700002)(66556008)(66476007)(86362001)(6916009)(4326008)(38100700002)(6486002)(6666004)(33964004)(52116002)(36756003)(2906002)(8936002)(8676002)(33656002)(5660300002)(45980500001); DIR:OUT; SFP:1102;
X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1
X-MS-Exchange-AntiSpam-MessageData-0: XZWW++L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ktWd8zd+lSehRXzErHgMcdXl1iDbh4CGW2ASo5s12T/rCjn6jP/JXldRO9olvhnOcPP0yLnufWLd0kQBRtDM/7W+8e+CzyjJcOjB0KEEGhr/X4FPKUxq+j/uO7j1Gb4a9ll2WHGPp9pm3VXgW8bUJWEXKJ4PHObSHXMUDCR8DXrLoDVQmuHM8hwYpGKxpL6iZE0EtfvD9D+CSRGM3Fo0PzPzWFRptJHSFVAVHD6UPbysbwR5l7x60vL/OElgVRa3xCFgq4IqC/ThrUhBrPW5FmsLzQEzHw1VSAQQ4j9/7hye4NicYGpq/NbdXt6TrVyvNpXT6P0zIcqLoFWxHxKeBf0xe+l6NgCpSe5aoX7KTeacR2eFudAqfs2xiAInl/G8K3Xs4/6fgxvCLzwJSKKsw4sZ4KMJor895YU8N/YzcTQSx8cYPQkZkVDMo6Sn9pt0ch+7XVjK/Cf+nkIPIRwwt6scq4q6lz5Cq4wkvPsreGlYU+pnrOySV7LIuNhd0DMKj8
X-OriginatorOrg: island-resort.com
X-MS-Exchange-CrossTenant-Network-Message-Id: acf48b27-6c52-4dc0-0966-08db517fb7c8
X-MS-Exchange-CrossTenant-AuthSource: PH7PR22MB3092.namprd22.prod.outlook.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 May 2023 17:55:19.1204 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: ad4b5b91-a549-4435-8c42-a30bf94d14a8
X-MS-Exchange-CrossTenant-MailboxType: HOSTED
X-MS-Exchange-CrossTenant-UserPrincipalName: +SjXsoEd5bzQ/o8V3hxpYvYlQZM1KEe4jMyXBUBvIiI/2AotmZGyAlkfNt6T73BXoK2DhYgTP7IW9DNoK858dQ==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR22MB3061
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/4AzcbXRZirdX3tHFB1GVt2T3AaA>
Subject: Re: [Cbor] Updated Drafts for dCBOR I-D and Gordian Envelope Structured Data Format I-D & IANA Tag Registration
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: "Concise Binary Object Representation \(CBOR\)" <cbor.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cbor>, <mailto:cbor-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cbor/>
List-Post: <mailto:cbor@ietf.org>
List-Help: <mailto:cbor-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cbor>, <mailto:cbor-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 10 May 2023 17:55:25 -0000
On May 10, 2023, at 2:44 AM, Jeremy O'Donoghue <jodonogh@qti.qualcomm.com> wrote: > > To give a very practical use-case, Rust has a native i128 type, for which the most “natural” encoding of Carsten’s example would be as a CBOR negative integer. Haskell uses “unlimited” length integers as (perhaps more usefully) does Python. > > I would prefer to see DCBOR require encoding of integer types on the smallest/most natural CBOR type. Only when outside the range of the CBOR positive and negative integer ranges should bigint be used. We don’t have to constrain everything else because of the limitations of the C and C++ builtin integer types. > > Best regards > Jeremy +1 for this. DCBOR implementations and applications are going to vary depending on whether floating point is needed/available and on the precision of the float and on the range of integers needed/available. It’s not possible to expect every implementation to support every number possible, nor will every use case need every value. It might be helpful (necessary to pre-define a few number number range profiles so a use case can pick from a menu and so there are example profiles. For example: Basic 64-bit integer profile: Integer values between MIN_INT64 to MAX_INT64 are allowed. All others error out. Basic float profile: All values that can be represented by an IEEE 754 double are allowed. All others error out. Bignum support is not required. Basic float profile with lignum: All values that can be represented by an IEEE 754 double are allowed. All others error out. Bignum representation are allowed. Implementations must round off big numbers that have greater precision than can be represented by an IEEE 754 double. LL
- [Cbor] Updated Drafts for dCBOR I-D and Gordian E… Christopher Allen
- Re: [Cbor] Updated Drafts for dCBOR I-D and Gordi… Carsten Bormann
- Re: [Cbor] Updated Drafts for dCBOR I-D and Gordi… Wolf McNally
- Re: [Cbor] Updated Drafts for dCBOR I-D and Gordi… Carsten Bormann
- Re: [Cbor] Updated Drafts for dCBOR I-D and Gordi… Jeremy O'Donoghue
- Re: [Cbor] Updated Drafts for dCBOR I-D and Gordi… Laurence Lundblade
- Re: [Cbor] Updated Drafts for dCBOR I-D and Gordi… Wolf McNally
- Re: [Cbor] Updated Drafts for dCBOR I-D and Gordi… Jeremy O'Donoghue
- Re: [Cbor] Updated Drafts for dCBOR I-D and Gordi… Carsten Bormann
- Re: [Cbor] Updated Drafts for dCBOR I-D and Gordi… Christian Amsüss
- Re: [Cbor] Updated Drafts for dCBOR I-D and Gordi… Carsten Bormann
- [Cbor] draft-mcnally-deterministic-cbor: rational… Christian Amsüss
- Re: [Cbor] draft-mcnally-deterministic-cbor: rati… Carsten Bormann
- Re: [Cbor] draft-mcnally-deterministic-cbor: rati… Carsten Bormann
- Re: [Cbor] Updated Drafts for dCBOR I-D and Gordi… Anders Rundgren
- Re: [Cbor] Updated Drafts for dCBOR I-D and Gordi… Carsten Bormann
- Re: [Cbor] Updated Drafts for dCBOR I-D and Gordi… Wolf McNally
- Re: [Cbor] Updated Drafts for dCBOR I-D and Gordi… Wolf McNally
- Re: [Cbor] Updated Drafts for dCBOR I-D and Gordi… Christopher Allen