DALDEI
09/10/2019, 4:41 AMraulraja
09/10/2019, 6:10 PMsuspend remote fun doInRemote(arg: Int): Int {
... remote combinators or contract dsl to show where the config or endpoint is
}
This would remove the need to choose Json, Avro, Protobuffers, etc or any network serialization concerns as long as your client and server are both written in Kotlin and it would require some runtime in the suspension intrinsics in the stdlib so libs could integrate with this new type of continuation.
It could probably kill many libs and popular frameworks that are mostly utilized to create webservices.
I would be interested in such a feature because remoting functions are effect monads and Arrow already provides the infrastructure to build a simple webservice in a cluster if remoting functions were available with a simple integration that would be powerful in pushing Kotlin backend too to new layers because you can teach distributed computing with the lang features instead of vendors that go out of date every few years.raulraja
09/10/2019, 6:18 PMraulraja
09/10/2019, 6:20 PMDALDEI
09/16/2019, 6:40 AM