mleku on Nostr: oh yeah i am always forgetting... with Go there is always cgo for this kind of thing ...
oh yeah i am always forgetting... with Go there is always cgo for this kind of thing or maybe it can be done with assembler, assembler is preferable because it doesn't complicate the build workflow
not sure about such kernel specific calls and build workflow but probably it's something you can just dump into the symbol tabel and voila
Published at
2024-11-05 21:14:13Event JSON
{
"id": "8145ed67e963d9bc77cffa1788e55537bfd3c5ee6b832c8018038d2f63721400",
"pubkey": "4c800257a588a82849d049817c2bdaad984b25a45ad9f6dad66e47d3b47e3b2f",
"created_at": 1730841253,
"kind": 1,
"tags": [
[
"e",
"ec686020a570bbc5a23f40c4c0672a55da7ee07cfd04f30dcf9ec36d05afd089",
"wss://theforest.nostr1.com/",
"root"
],
[
"e",
"de663287ab1a4c2e80273d0da295947389962244ad6226d578b8c1da95ebee0b",
"wss://theforest.nostr1.com/",
"reply"
],
[
"p",
"036533caa872376946d4e4fdea4c1a0441eda38ca2d9d9417bb36006cbaabf58",
"",
"mention"
],
[
"client",
"noStrudel",
"31990:266815e0c9210dfa324c6cba3573b14bee49da4209a9456f9484e5106cd408a5:1686066542546"
]
],
"content": "oh yeah i am always forgetting... with Go there is always cgo for this kind of thing or maybe it can be done with assembler, assembler is preferable because it doesn't complicate the build workflow\n\nnot sure about such kernel specific calls and build workflow but probably it's something you can just dump into the symbol tabel and voila",
"sig": "dc7e1b2e830d4a430b8cca45199b52ef66600e73d39fe5976f7f6dd24ed8990e6c31a0974ea6087ea679c3a5b1d03206e9ea99939440b339b1b6587eeed920fe"
}