Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Darkly)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Uncategorized
  3. Why has no one written a Fediverse server in Haskell?

Why has no one written a Fediverse server in Haskell?

Scheduled Pinned Locked Moved Uncategorized
haskellfediverse
4 Posts 2 Posters 0 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Shoe Bill :yellowShield: :yellowHat: :yellowSparkles: :yellowFivePlus: :yellowCrown:T This user is from outside of this forum
    Shoe Bill :yellowShield: :yellowHat: :yellowSparkles: :yellowFivePlus: :yellowCrown:T This user is from outside of this forum
    Shoe Bill :yellowShield: :yellowHat: :yellowSparkles: :yellowFivePlus: :yellowCrown:
    wrote last edited by
    #1

    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?

    #Haskell #Fediverse

    AnthropyA 1 Reply Last reply
    0
    • Shoe Bill :yellowShield: :yellowHat: :yellowSparkles: :yellowFivePlus: :yellowCrown:T Shoe Bill :yellowShield: :yellowHat: :yellowSparkles: :yellowFivePlus: :yellowCrown:

      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?

      #Haskell #Fediverse

      AnthropyA This user is from outside of this forum
      AnthropyA This user is from outside of this forum
      Anthropy
      wrote last edited by
      #2

      @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

      Shoe Bill :yellowShield: :yellowHat: :yellowSparkles: :yellowFivePlus: :yellowCrown:T 1 Reply Last reply
      1
      0
      • R ActivityRelay shared this topic
      • AnthropyA Anthropy

        @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

        Shoe Bill :yellowShield: :yellowHat: :yellowSparkles: :yellowFivePlus: :yellowCrown:T This user is from outside of this forum
        Shoe Bill :yellowShield: :yellowHat: :yellowSparkles: :yellowFivePlus: :yellowCrown:T This user is from outside of this forum
        Shoe Bill :yellowShield: :yellowHat: :yellowSparkles: :yellowFivePlus: :yellowCrown:
        wrote last edited by
        #3

        @anthropy

        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)?

        AnthropyA 1 Reply Last reply
        0
        • Shoe Bill :yellowShield: :yellowHat: :yellowSparkles: :yellowFivePlus: :yellowCrown:T Shoe Bill :yellowShield: :yellowHat: :yellowSparkles: :yellowFivePlus: :yellowCrown:

          @anthropy

          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)?

          AnthropyA This user is from outside of this forum
          AnthropyA This user is from outside of this forum
          Anthropy
          wrote last edited by
          #4

          @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.

          1 Reply Last reply
          1
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          Powered by NodeBB Contributors
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups