Date: Mon, 25 Aug 2025 20:41:10 +0300 From: Vadim Goncharov <vadimnuclight@gmail.com> To: "Isaac (.ike) Levy" <ike@blackskyresearch.net> Cc: Poul-Henning Kamp <phk@phk.freebsd.dk>, David Chisnall <theraven@FreeBSD.org>, Konstantin Belousov <kostikbel@gmail.com>, hackers@freebsd.org Subject: CBOR (Was: My experiences with Rust) Message-ID: <20250825204110.5bf13aab@nuclight.lan> In-Reply-To: <5A044EA3-5427-4356-86BB-5E39B0394C7E@blackskyresearch.net> References: <aKiWZ1I3pqZSOsfk@kib.kiev.ua> <202508221712.57MHCPDl008201@critter.freebsd.dk> <E04D6E14-8EA1-446B-8C9C-762C9956F6D5@FreeBSD.org> <20250822214848.25569826@nuclight.lan> <202508221937.57MJbBtK008806@critter.freebsd.dk> <20250823002942.305119b2@nuclight.lan> <5A044EA3-5427-4356-86BB-5E39B0394C7E@blackskyresearch.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 22 Aug 2025 17:52:48 -0400 "Isaac (.ike) Levy" <ike@blackskyresearch.net> wrote: > > On Aug 22, 2025, at 5:29 PM, Vadim Goncharov <vadimnuclight@gmail.com> > > wrote: > .. > > And nobody needs to open "format" *directly* in text editor - as CBOR is > > seamlessly converted to/from text-form EDN (extended diagnostic notation, a > > superset of JSON), that sounds like a requirement to open ELF binary > > directly in text editor instead of just putting (dis)assembler into > > pipeline. > > This goes against the principles that have made UNIX systems successful > since 1969, (and follows path with many systems which came and went). No. See my message to phk@ > "Write programs to handle text streams, because that is a universal > interface." Thompson, McEllroy, Salus, etc. That was true in 1970-80-s as a particular instance of more generic "to handle universal structured formats", because only text was available to build such at that times. > Love it or hate it, but it's a guarantee some user will be trying to > debug/manage the interface output here many years after any of us in this > thread have stopped touching it, when CBOR feels as antiquated as XML. Big > difference: anyone can read the XML and figure out what the heck it is by > looking at it using common tools. CBOR exists for more than decade and designed to exist for decades more. There's already many tools and language implementations available, see http://cbor.io and e.g. cbor2diag.rb (see again my message to phk@) will give that user much better experience than XML. -- WBR, @nuclight
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20250825204110.5bf13aab>
