Skip to content

Conversation

ElFantasma
Copy link
Collaborator

Improved documentation a bit

README.md Outdated
- Implement our own runtime. Currently we are reexporting tokio structs and traits. We would like to implement our own runtime, probably reusing the bits and parts that we find useful from tokio or other runtimes, as well as implementing our own improvements.
- Implement a deterministic runtime. We think that comonware.xyz's implementation of a deterministic runtime is a great idea, and we plan to do the same or use it in `spawned`.

# Threads or tasks?:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think I preferred the "Versions:", but this is purely subjective taste

README.md Outdated

Two execution versions exist in their own submodules:
- tasks: a runtime is required to run async/await code. The runtime is used in `spawned_rt::tasks` module that abstracts it. (Currently we are using tokio)
- threads: no use of async/await. Just IO threads code.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nitpick: they aren't really io threads. They're normal fully fledged "native OS threads", in unix it's pthread_create()

@ElFantasma ElFantasma merged commit ed518f7 into main Jul 11, 2025
3 checks passed
@juan518munoz juan518munoz deleted the improve_documentation branch July 18, 2025 19:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants