Skip to content

irrustible/green-threads

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

green-threads

Stackful coroutines for stable rust.

Status: pre-alpha, do not use

This library is essentially a hand-written pile of various assembly dialects written from first principles and the help of the internet. It has not yet been tested at all and it's likely broken if you can manage to find a use for it at all.

Are you an ABI expert? Please review my code. God knows it could use more eyes.

Usage

Support

Supported architectures:

  • aarch64
  • arm
  • x86
  • x86_64

Architectures we'd like to support:

  • riscv

Note that this completes the list of supported architectures for the asm macro, so anything else would likely be painful.

Copyright and License

Copyright (c) 2022 James Laver, green-threads contributors.

Licensed under Apache License, Version 2.0 (https://www.apache.org/licenses/LICENSE-2.0), with LLVM Exceptions (https://spdx.org/licenses/LLVM-exception.html).

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be licensed as above, without any additional terms or conditions.

About

userspace stack switching toolkit handcoded in assembly

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages