laanwj on Nostr: imo too early for that kind of optimization, nostr having a trivial-to-learn protocol ...
imo too early for that kind of optimization, nostr having a trivial-to-learn protocol is one of its charms, and a simple text protocol allows for easier prototyping and experimentation in the early days
mind that this is only about text messages, which are very small compared to other media, would agree encoding images and video in JSON would be absurd 😀
adding another protocol and the logic for supporting both of them adds a lot of hassle--like sure HTTP eventually got binary protocols in the form of HTTP2, HTTP3, when giants like google with massive web servers tried to squash out every byte and sponsored this kind of development, but i'm not sure massive relays like that what we want in the first place
Published at
2024-10-05 06:52:19Event JSON
{
"id": "f47baa4ce28f903a23218b97c648d7f6f2e6d44832d590a2d4c72db62a78a5e8",
"pubkey": "0aa39e5aef99a000a7bdb0b499158c92bc4aa20fb65931a52d055b5eb6dff738",
"created_at": 1728111139,
"kind": 1,
"tags": [
[
"e",
"aa9ccc0484ff5e2657e19a67d93de461a8625e396c9f83438e46f278fdb9b123",
"",
"root"
],
[
"e",
"aa9ccc0484ff5e2657e19a67d93de461a8625e396c9f83438e46f278fdb9b123",
"",
"reply"
],
[
"p",
"e88a691e98d9987c964521dff60025f60700378a4879180dcbbb4a5027850411",
"",
"mention"
],
[
"client",
"noStrudel",
"31990:266815e0c9210dfa324c6cba3573b14bee49da4209a9456f9484e5106cd408a5:1686066542546"
]
],
"content": "imo too early for that kind of optimization, nostr having a trivial-to-learn protocol is one of its charms, and a simple text protocol allows for easier prototyping and experimentation in the early days\n\nmind that this is only about text messages, which are very small compared to other media, would agree encoding images and video in JSON would be absurd 😀 \n\nadding another protocol and the logic for supporting both of them adds a lot of hassle--like sure HTTP eventually got binary protocols in the form of HTTP2, HTTP3, when giants like google with massive web servers tried to squash out every byte and sponsored this kind of development, but i'm not sure massive relays like that what we want in the first place",
"sig": "1992f29e30a287f59092b2cfbe5758a34c4a385346331f2ac277e6c8242f45bd3d7657b113a32541db68a6939c0ff2c8ee800b03ececc93ea162a3ccdeda39e2"
}