Egge on Nostr: Yesterday I wrote an algorithm in typescript. This is the language that I am most ...
Yesterday I wrote an algorithm in typescript. This is the language that I am most familiar with.
Claude was able to port this to Go, apply some optimisation and increase the performance by 12 times.
I know enough Go to make sure it does what I want it to do. It was a one shot.
Writing something in language A and letting AI port it to language B works incredibly well. Language A provides a perfect definition for the model to work with. Much more exact than natural language ever could be.
Published at
2025-07-31 05:46:39 UTCEvent JSON
{
"id": "5dc6248f0c4e8eeeed70f482997a70ac97c88ef46cbbe54050c4d6f7a2573b6d",
"pubkey": "ddf03aca85ade039e6742d5bef3df352df199d0d31e22b9858e7eda85cb3bbbe",
"created_at": 1753940799,
"kind": 1,
"tags": [],
"content": "Yesterday I wrote an algorithm in typescript. This is the language that I am most familiar with.\n\nClaude was able to port this to Go, apply some optimisation and increase the performance by 12 times. \n\nI know enough Go to make sure it does what I want it to do. It was a one shot.\n\nWriting something in language A and letting AI port it to language B works incredibly well. Language A provides a perfect definition for the model to work with. Much more exact than natural language ever could be.",
"sig": "3891990087599755fdcc05799dff843434090c75fe9d6594bccf734be2002f579eb0417841f78597d544e420303c11f0ed74e49325bc99dc8d9f2ad4b5913986"
}