diacone on Nostr: Rob Pike (I think) advocated for rather copying code you need into your codebase ...
Rob Pike (I think) advocated for rather copying code you need into your codebase instead of a dependency.
In case of public key cryptography and ECC specifically, why do you even need a library. It's all known and pretty much immutable. And like 50 lines of code ...
Published at
2025-02-23 01:34:40Event JSON
{
"id": "1e31e7b49edcd9f1ca34528e9200d016d1f3f969186458760e8f030c9e8f1585",
"pubkey": "8633073b8567da97ad119fedd9716154aa283234cbb7d28d5131daa077d1cf7a",
"created_at": 1740274480,
"kind": 1,
"tags": [
[
"e",
"ed5ee849ca872728814d3300643080404d8d20a24d7a989e3201955a59c55dcf",
"",
"root"
],
[
"p",
"036533caa872376946d4e4fdea4c1a0441eda38ca2d9d9417bb36006cbaabf58"
]
],
"content": "Rob Pike (I think) advocated for rather copying code you need into your codebase instead of a dependency.\n\nIn case of public key cryptography and ECC specifically, why do you even need a library. It's all known and pretty much immutable. And like 50 lines of code ...",
"sig": "58a084b127b304533acfefe897bf8ca0216757c023361c442571d9f5a320a2194a09cc50efa0b2bb61a2c05d0b92eff9dc770e6ad9bef29d2e1bf8650910bce4"
}