:niggy: on Nostr: I mostly am friend, main takeaways so far: For anything low-level or without 1mb+ ...
I mostly am friend, main takeaways so far:
For anything low-level or without 1mb+ binaries (what I need), you can't use the standard library
Without the standard library, you can't use nearly any 3rd-party rust libraries, only C libraries
Using C libraries is complicated and code is very ugly
Working it out though, almost got mongoose C library for http client/server working, since you can't use any rust networking libraries without std
Published at
2023-12-03 05:10:49Event JSON
{
"id": "287ffa2110979652e96dfa5209640ca4fbbcfbb3c7f9fb5242a761562abd5b4a",
"pubkey": "6be61ca6c65a6d80ae4deb98eb27943cba1bc93dfc975b8161028c099c2b54dc",
"created_at": 1701580249,
"kind": 1,
"tags": [
[
"p",
"302f2d84916faa4bb4d88da7a0d8b7e447ca007c6f0ddc921e575f2ab96397a9",
"wss://relay.mostr.pub"
],
[
"e",
"cb96df2bfe1fa27e9b2e8c17108d31b8bf82d735c49189175254f3c76ebd94b8",
"wss://relay.mostr.pub",
"reply"
],
[
"proxy",
"https://poa.st/objects/8f7b9307-a141-40ed-8cb3-88757d7a3263",
"activitypub"
]
],
"content": "I mostly am friend, main takeaways so far:\n\nFor anything low-level or without 1mb+ binaries (what I need), you can't use the standard library\nWithout the standard library, you can't use nearly any 3rd-party rust libraries, only C libraries\nUsing C libraries is complicated and code is very ugly\n\nWorking it out though, almost got mongoose C library for http client/server working, since you can't use any rust networking libraries without std",
"sig": "f690a744bf0e6cf7a485a24f7357a985f256b61b0c686ea86b291d326b6e3e8655dce2b33d0ae67b392f67d58ded9a7db0019705af0bfac7001b785e9d80543e"
}