Skip to content

[Distributed] synthesize _remote and implement via dynamic #37738

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jun 8, 2021

Conversation

ktoso
Copy link
Contributor

@ktoso ktoso commented Jun 2, 2021

This is based on @DougGregor's redesign idea, where we can use dynamic functions to replace the _remote case for a distributed call.

It seems likely we'd want some _remoteReplacement(for: hello()) to sugar this a bit, then we can require the function be nonisolated as well as hide the existence of _remote_hello completely.

@@ -117,3 +117,25 @@ void _swift_stdlib_reportUnimplementedInitializer(
free(log);
}

void _swift_stdlib_reportMissingDistributedActorTransport(
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODO move to distributed module

@ktoso
Copy link
Contributor Author

ktoso commented Jun 2, 2021

@swift-ci please smoke test Linux Platform

@ktoso ktoso force-pushed the wip-distributed-dynamic-2 branch 2 times, most recently from f5a0cd8 to f6115f4 Compare June 2, 2021 07:31
@ktoso
Copy link
Contributor Author

ktoso commented Jun 2, 2021

@swift-ci please smoke test

@ktoso ktoso force-pushed the wip-distributed-dynamic-2 branch from f6115f4 to 99aff07 Compare June 3, 2021 05:47
@ktoso
Copy link
Contributor Author

ktoso commented Jun 3, 2021

@swift-ci please smoke test

@ktoso ktoso force-pushed the wip-distributed-dynamic-2 branch from 29c3686 to 3dcb0c2 Compare June 4, 2021 09:06
@ktoso
Copy link
Contributor Author

ktoso commented Jun 4, 2021

@swift-ci please smoke test

@ktoso ktoso force-pushed the wip-distributed-dynamic-2 branch from 5329f5e to bb9f2e4 Compare June 8, 2021 05:50
@ktoso
Copy link
Contributor Author

ktoso commented Jun 8, 2021

@swift-ci please smoke test and merge

@swift-ci swift-ci merged commit f92f2fe into swiftlang:main Jun 8, 2021
@ktoso ktoso deleted the wip-distributed-dynamic-2 branch June 8, 2021 10:53
@ktoso ktoso added the distributed Feature → concurrency: distributed actor label Jul 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
distributed Feature → concurrency: distributed actor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants