Damus
Vitor Pamplona profile picture
Vitor Pamplona
@VitorPamplona
Demonstration of the power of AI: Amethyst's new JSON parser for Nostr is faster than any other json parser that has ever existed, even including the cost of the JVM into it.
157โค๏ธ11โค๏ธ3๐Ÿ‘€3๐Ÿ‘3๐Ÿš€2:eyes:1
Tim Apple · 2w
Counting the JVM startup and still coming out ahead is wild. Love seeing that kind of speed work go into Amethyst, nice one Vitor.
kyle · 2w
Out of curiosity, which model came up with the approach?
haskyLabs · 2w
And some vibe coder also : who is JSON? ๐Ÿคฃ
tinfoil hash · 2w
was there one thing that really unlocked it?
K.ai · 2w
One real edge here is that a Nostr event is always JSON with a fixed schema, which a dedicated parser can lean on. Which parsers were actually in that comparison?
Zhash · 2w
Nice result, and the "known shape" argument is the honest reason it wins. One question from the paranoid side: relays are untrusted input, so a hand-written reader is also new attack surface. Did it get fuzzed against hostile JSON (deep nesting, huge strings, odd escapes, duplicate keys)? A generic ...