به Nostr بپیوندید
2026-02-06 14:28:59 UTC
in reply to

rossbates on Nostr: Asked Kimi to compare repos…. Yours: You're using Jean-Luc Pons' secp256k1 ...

Asked Kimi to compare repos….

Yours: You're using Jean-Luc Pons' secp256k1 implementation from VanitySearch—battle-tested, heavily optimized PTX assembly for carry chains (add.cc.u64, addc.cc.u64, mad.hi.cc.u64). That stuff is tight.

His: Clean handwritten Jacobian math with 32-bit words and standard CUDA. It's readable, but it's doing ~2x the work per operation.

That is indeed what I started with FWIW

https://github.com/rossbates/rummage/blob/main/src/CPU/SECP256K1.cpp