Comments (5)
I'd be in favor of only supporting async functions, for exactly the reasons you describe. I don't think there's anything significant to be gained, but there is additional complexity that could easily be avoided.
from tractor.
See the comment in richardsheridan/trio-parallel#2 which I think is more fuel for this change.
from tractor.
Yah, I'm thinking for a .alpha0
release we just drop remote sync function calling support and defer to @richardsheridan's project.
from tractor.
Yeah so TLDR: is that if we're calling sync funcs in some remote actor you'll need the tractor
runtime anyway which means you should have the ability to wrap the call in an async func - so there should be no benefit to supporting that wrapping inside _actor._invoke
.
I also think we should make a alt-projects list in the readme and point to others for this kind of thing.
from tractor.
We already have a pointer to trio-parallel
in the readme, so just need a PR removing the support now.
from tractor.
Related Issues (20)
- Nursery does not re-raise error from `.run_in_actor()` remote task HOT 22
- Deprecate `ActorNursery.run_in_actor()` and offer as part of a wrapper cluster API HOT 1
- PyPI packaging broken for version 0.1.0a4; missing README.rst HOT 2
- Toying with a message type for "object references" HOT 1
- Add a basic *registry* actor example
- tHe GoD uNpRoToCoL HOT 1
- Caps based sec, as much as we can with Python
- We might not need `ActorNursery._join_procs: trio.Event` in the long run
- Use of `pydantic` and `click` in sub-actor causes SIGINT ignoring, hangs...
- Macos error while trying to initialize HOT 2
- Need to handle a `KeyError` in `_debug._hijack_stdin_for_child` HOT 2
- Drop `msgpack` dependency, go full `msgspec`
- Handling >= 1 depth (nested) actor trees in the debugger
- `pdbpp` borks our `0.1.0a5` on `pypi` 😂
- Recursion error on `BroadcastReceiver.receive()`?
- `trio.Process` deprecations
- `trio.MultiError` is deprecated -> move to `exceptiongroup.ExceptionGroup` HOT 1
- Share memory (array) sub-system API and optional tight integration with `numpy`
- OS X: shared memory file name length limitation causing error
- `OSError: [Errno 9] Bad file descriptor` in cluster test
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tractor.