Why has no one written a Fediverse server in Haskell?
-
Why has no one written a Fediverse server in Haskell?
I would love to be wrong about this, obviously, but I've looked, and I can't find anything that speaks ActivityPub in Haskell.
Is Haskell just a bad language to use for something like this, and if so then why, or what's the reason if not that?
-
Why has no one written a Fediverse server in Haskell?
I would love to be wrong about this, obviously, but I've looked, and I can't find anything that speaks ActivityPub in Haskell.
Is Haskell just a bad language to use for something like this, and if so then why, or what's the reason if not that?
@the I think it is doable, there are even implementations in C, but someone would have to write a library for it first or wrap e.g the C library. Tempting to try tbh, but I also think the key management and stuff can be a mild headache to implement well IIRC
-
R ActivityRelay shared this topic
-
@the I think it is doable, there are even implementations in C, but someone would have to write a library for it first or wrap e.g the C library. Tempting to try tbh, but I also think the key management and stuff can be a mild headache to implement well IIRC
Key management, I have no idea; I hadn't even thought about that part (or written my own ActivityPub server, clearly, lol). How complicated is ActivityPub to implement properly, anyway, if you were to write the implementation from scratch (instead of wrapping one that already exists)?
-
Key management, I have no idea; I hadn't even thought about that part (or written my own ActivityPub server, clearly, lol). How complicated is ActivityPub to implement properly, anyway, if you were to write the implementation from scratch (instead of wrapping one that already exists)?
@the I've only touched the subject lightly, but it depends on how far you want to go; it's a pubsub system with "mailboxes" that have pub/priv key used for authorisation. When you post you have to push your message to all the followers, rather than them pulling it, so you need some active job queue system that handles that too. Beyond that I'm unsure but that appears to be the basics of it. There are also many extensions, specific to Mastodon, Misskey, etc, that aren't part of the official spec.