jb55 on Nostr: There are many many reasons, i have engineered the rust and C code to be fast and ...
There are many many reasons, i have engineered the rust and C code to be fast and cache efficient. kotlin/jvm is a completely different runtime environment, and a naive implementation of a nostr client will be slow. Lots of careful engineering is the gist of it. I approached it like i would a video game with a very tight frame budget.
Published at
2025-06-18 01:01:52Event JSON
{
"id": "3533a3bb53f703b3d39879c3254630e20379c0036edbcbb0605993237603b948",
"pubkey": "32e1827635450ebb3c5a7d12c1f8e7b2b514439ac10a67eef3d9fd9c5c68e245",
"created_at": 1750208512,
"kind": 1,
"tags": [
[
"e",
"f59fbe042763931486fe1e60a7cd3b3330767d4e93a753e85493884934980049",
"",
"root"
],
[
"e",
"2272739860adafca930e2312a458d695066f52d97138b9f05323451612cdfddb",
"",
"reply"
],
[
"p",
"8fac8f40655ed30f55e647f82c18b4a029e4ffd06d66ebde1f8c24e03065fad1"
]
],
"content": "There are many many reasons, i have engineered the rust and C code to be fast and cache efficient. kotlin/jvm is a completely different runtime environment, and a naive implementation of a nostr client will be slow. Lots of careful engineering is the gist of it. I approached it like i would a video game with a very tight frame budget.",
"sig": "35003d39db00b1f1e4bba02adbb7cf034af5db997ca63d45f58e36fcc9913825cd2861f51bedbb0bc0af45ffa4154fc7b27f13b4318df4594c20e1d17e5e11e7"
}