spec/CBOR | 15 +++++++++++++++ spec/comparison | 12 +----------- diff --git a/spec/CBOR b/spec/CBOR new file mode 100644 index 0000000000000000000000000000000000000000..cc3537f7f102e209d5f2c59b26dc11bc4dea8cf3e5dfaa0256beda954e244cdc --- /dev/null +++ b/spec/CBOR @@ -0,0 +1,15 @@ +It is a classical committee product, solving non-existent production tasks. + +Years long discussion of how to encode maps canonically, because +they decided that keys can be nearly any data type. And still giving +non-satisfying proposal, leading to dCBOR creation. + +Canonical and streaming modes of operation are mutually exclusive. +There are no sane real life reasons why it could not be possible. + +Hardly you will find of CBOR libraries supporting strict validation +of canonically/deterministically encoded CBOR structures. + +Tagged string/integer can not be considered as a viable first-class +bigint/datetime data support, because many decoders do not support +tagged values further processing. diff --git a/spec/comparison b/spec/comparison index 2c4295d4278d3987d14967f7878a5e7bbacda186daa7878846b0ccee0625e6d5..f07fb4db03411ade4c5a5ce199443b5fa09bdd353cbf5aa01509ae5322070ae2 100644 --- a/spec/comparison +++ b/spec/comparison @@ -1,4 +1,4 @@ -Are not there any satisfiable [codecs]? +Are not there any satisfiable [codecs]? Even [CBOR]? | simple | deterministic | streamable | compact ------------+--------+---------------+------------+-------- @@ -28,13 +28,3 @@ Netstrings | Y | Y | N | N | N | N | N | N Bencode | Y | Y | N | Y | Y | Y | Y | N CSExp | Y | Y | N | N | N | Y | N | N KEKS | Y | Y | Y | Y | Y | Y | Y | Y - -Note about CBOR: - -* Hardly you will find wide range of CBOR libraries supporting strict - validation of deterministically encoded CBOR structures. -* Tagged string/integer can not be taken as a viable first-class - bigint/datetime data support, because many decoders do not support - tags and won't be able to interpret/validate them. -* Non-string map keys very complicates representation process for - dynamically types languages.