Josh Simmons on Nostr: i'm sure it's *fine*, but yeah we don't use it at all for the most part. at any ...
i'm sure it's *fine*, but yeah we don't use it at all for the most part. at any decent scale I think the cost of implementing your own datastructures becomes negligible compared to what you can gain from controlling the implementation across all platforms. the easy cases are things like unordered_map where the std version is very not good, but in general it's useful to be able to inject things throughout, profiling hooks, debugging tools, error detection, that kind of thing.
Published at
2024-06-08 08:54:47Event JSON
{
"id": "75eceb72fa92ada167dc8130de92f4751dd97732c18ff7df23de910aab097bce",
"pubkey": "363e334fb9fe142676db5636439c23d55970b7857d1e043aff651bafa7200aeb",
"created_at": 1717836887,
"kind": 1,
"tags": [
[
"p",
"e062fbe72ae69ccb16a631db7dcba2221e17a897b835743d7f1c0ccd7a2ef223"
],
[
"e",
"6c749c99be9e315e92a6879fd3711c5316d5925a9b3a024834a78c01c7228931",
"",
"root"
],
[
"proxy",
"https://mastodon.social/@dotstdy/112580158272668399",
"web"
],
[
"proxy",
"https://mastodon.social/users/dotstdy/statuses/112580158272668399",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://mastodon.social/users/dotstdy/statuses/112580158272668399",
"pink.momostr"
]
],
"content": "i'm sure it's *fine*, but yeah we don't use it at all for the most part. at any decent scale I think the cost of implementing your own datastructures becomes negligible compared to what you can gain from controlling the implementation across all platforms. the easy cases are things like unordered_map where the std version is very not good, but in general it's useful to be able to inject things throughout, profiling hooks, debugging tools, error detection, that kind of thing.",
"sig": "ac77179fa8c606a4affa62bc794b6f86def611e0244e495518fd87d6024a1a5faa177035c94527dd56da9cf1830fe83f8ed55102146ab2bc16fa4098e1ab907c"
}