goodboy / tractor

A distributed, structured concurrent runtime for Python (and friends)
GNU Affero General Public License v3.0
271 stars 12 forks source link

`rust` tasks #352

Open goodboy opened 1 year ago

goodboy commented 1 year ago

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.

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: