swift-distributed-actors
swift-distributed-actors copied to clipboard
Will this be posibile on iOS?
Will this be posibile on iOS?
I mean would be great to have native possibility to work with some kind of distributed hash table in the same bundleid to create an application without backend.
This is not designed to form "clusters of devices"; but yeah the language feature of distributed actors (not this library, the language feature) totally can support iOS.
So the actual question is, what is your use case? In detail -- who connecting with tho, for how long, and for what purpose :-)
Well, ideally would be some kind of capability if we are talking about iOS development that will allow iPhone to work in background especially for distributed systems to sync. I would like to create a distributed hash table and on top of that to create some kind of storage/chat whatever. The problem is iOS limitations (background modes) that doesn't allow to work in background for long time and there is always some tricks to do in order to make it to work. So, that being said it would be great if Apple could build some infrastructure to:
- support distributed hash tables (the basement for decentralized systems) I wold like to have root node per application bundle (straying point where all apps can ask for closest node in network)
- support for tiny regular updates for this king of applications that works as nodes
- secure api to be able to send notifications from app (node)
This way we will be able to build totally server less iOS applications decentralized. 😉
P.S I have tried a lot of this platforms/apps and the biggest problem is that the iOS is hard/impossible to build in such a manner. (Odysee, Jami, ...)