mleku on Nostr: nope, i'm rewriting the cosmos wasmd programmable blockchain/interchain thing to use ...
nope, i'm rewriting the cosmos wasmd programmable blockchain/interchain thing to use a pure Go engine and not be built on top of a stupid Rust one
i've narrowed down the interface of it (it's not very well documented) and i'm today learning about how this go engine, called 'wazero' works so i can figure out how to plug the pieces together
it's a #golang and anti - #rust project, i always felt it was retarded that they do all this funding to build the entire WASM engine in rust even though Cosmos is built on Go and probably always will be until everyone forgets about it, so why ??? why?? Go is perfectly good for implementing compilers and interpreters
anyway, someone wants to have it done and i can do it so i'm taking the money and doing the work
it has been rough though, dealing with the rust and cgo, both are ugh i've done a little work with FFIs in Go before and most recently extended the work that fiatjaf did to put the fast secp256k1 signature from bitcoin core into his go-nostr library, he only implemented verification, i implemented everything except the ECDH because the exposed functions in that library don't do X-only ECDH
Published at
2024-10-10 07:31:32Event JSON
{
"id": "275ae21e21b51ab443d6d285ad0f599aa117f62b61d5214d52366b2789ce9535",
"pubkey": "4c800257a588a82849d049817c2bdaad984b25a45ad9f6dad66e47d3b47e3b2f",
"created_at": 1728545492,
"kind": 1,
"tags": [
[
"t",
"golang"
],
[
"t",
"rust"
],
[
"e",
"4f6cdc4df4f51b6721af4abce8c2c991da525f65d202b385c3e6ab8eba9f3d55",
"wss://nostr.land/",
"root"
],
[
"e",
"440e9261e6d8e1f3c86ef6d5fb699ecd625909994f92abe590f0946ddd84ff08",
"",
"reply"
],
[
"p",
"f683e87035f7ad4f44e0b98cfbd9537e16455a92cd38cefc4cb31db7557f5ef2",
"",
"mention"
],
[
"client",
"noStrudel",
"31990:266815e0c9210dfa324c6cba3573b14bee49da4209a9456f9484e5106cd408a5:1686066542546"
]
],
"content": "nope, i'm rewriting the cosmos wasmd programmable blockchain/interchain thing to use a pure Go engine and not be built on top of a stupid Rust one\n\ni've narrowed down the interface of it (it's not very well documented) and i'm today learning about how this go engine, called 'wazero' works so i can figure out how to plug the pieces together\n\nit's a #golang and anti - #rust project, i always felt it was retarded that they do all this funding to build the entire WASM engine in rust even though Cosmos is built on Go and probably always will be until everyone forgets about it, so why ??? why?? Go is perfectly good for implementing compilers and interpreters\n\nanyway, someone wants to have it done and i can do it so i'm taking the money and doing the work\n\nit has been rough though, dealing with the rust and cgo, both are ugh i've done a little work with FFIs in Go before and most recently extended the work that fiatjaf did to put the fast secp256k1 signature from bitcoin core into his go-nostr library, he only implemented verification, i implemented everything except the ECDH because the exposed functions in that library don't do X-only ECDH",
"sig": "2e7444a61f81ba59922dca35dde2e714ff2557f29c4bf945cd39137e963953463b7b1586e14b5ba3133983a531887d3baa454d93ef55a742d0537be1bd400214"
}