mleku on Nostr: hE wRoTe ThE tOoLiNg In RuSt doesn't matter, it's bulk computation it's just generate ...
hE wRoTe ThE tOoLiNg In RuSt
doesn't matter, it's bulk computation
it's just generate secret, generate pubkey, hash to address, check, repeat
i've not yet seen anyone write an AVX2 secret->pubkey derivation algorithm so i doubt that it mattered that he used C, C++, C# or Go
there's really almost no scope for making this computation more efficient, it's scalar multiplication, mostly
i just want to point that out because fuck rust
Published at
2024-01-17 19:18:53Event JSON
{
"id": "ef0b000ea300cf2b13e15ecb2adeac141d4ae17254c95db664fd7a8b3de81ac9",
"pubkey": "4c800257a588a82849d049817c2bdaad984b25a45ad9f6dad66e47d3b47e3b2f",
"created_at": 1705519133,
"kind": 1,
"tags": [
[
"e",
"7bca7e8597975119a31fdf4582b0a1d2f6a24af34fd2f6ac1a949b07294c2ec9",
"",
"reply"
],
[
"p",
"0f28196ced1024be7ceb3d7b194337bf8f21e7ad0a8be803b1ec0a7c52e926de"
]
],
"content": "hE wRoTe ThE tOoLiNg In RuSt\n\ndoesn't matter, it's bulk computation\n\nit's just generate secret, generate pubkey, hash to address, check, repeat\n\ni've not yet seen anyone write an AVX2 secret-\u003epubkey derivation algorithm so i doubt that it mattered that he used C, C++, C# or Go\n\nthere's really almost no scope for making this computation more efficient, it's scalar multiplication, mostly\n\ni just want to point that out because fuck rust",
"sig": "0846cade75c729e1cc65adb5f97c325d056a825c64afb548f5b9865f0e237ef1c0b00ee280bac18edac46aba8a23afd46efc5c285c7c255f71c764a4cf2d3ecb"
}