Skip to content

Commit

Permalink
[proposal] Structured Async for Mojo
Browse files Browse the repository at this point in the history
Proposes to add structured async to Mojo, following in the the Rust
tradition of async since Mojo has the ability to fix many of the issues
with Rust's async, some of which are ecosystem inflicted and some of
which are inflicted by old decisions made about the language (such as
that any value may be leaked). I think that this interface offers a lot
more flexibility than the current one does for high performance code,
while providing a better path for gradual evolution. It does have some
language-level dependences, namely unions, and requires the introduction
of `Send` and `Sync` traits, which are used to control data movement
between threads.

Signed-off-by: Owen Hilyard <hilyard.owen@gmail.com>
  • Loading branch information
owenhilyard committed Jan 13, 2025
1 parent f3432eb commit 8429281
Showing 1 changed file with 665 additions and 0 deletions.
Loading

0 comments on commit 8429281

Please sign in to comment.