You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Extremely interested in the idea of supporting direct spawn of async rust tasks (maybe in a diff thread) in our actor tree and even
further eventually having a rust-native nursery API both for
parallel threads and possibly (with less initial priotiy) async
IO tasks.
Ideally we get to a point where you easily convert some async python
function into a rust equivalent without a ton of effort and allow more
or less running rust based parallel tasks in-actor-tree B)
Extremely interested in the idea of supporting direct spawn of async
rust
tasks (maybe in a diff thread) in our actor tree and evenfurther eventually having a rust-native nursery API both for
parallel threads and possibly (with less initial priotiy) async
IO tasks.
Given python and rust seem to be best friends these days i'm thinking
this would be a mega killer feature:
https://github.com/PyO3/pyo3#examples
Ideally we get to a point where you easily convert some async python
function into a rust equivalent without a ton of effort and allow more
or less running
rust
based parallel tasks in-actor-tree B)Research launch pad:
there already exists py03 "native" support for
asyncio
which couldbe a place to start: https://github.com/awestlake87/pyo3-asyncio:
infected_asyncio
mode and see how this binding layer works,asyncio
event loop integration https://docs.rs/pyo3-asyncio/latest/pyo3_asyncio/trio
's runtime, which IIRC, njsmith said wouldn't be that bad🏄
rustpython
scoped threads APIs:
rayon
from abovenursery APIS:
https://github.com/nikomatsakis/moro#are-there-other-async-nursery-projects-available-and-how-does-moro-compare
shared mem libs:
The text was updated successfully, but these errors were encountered: