Skip to content

Coroutines or goroutines? #1

@cameronelliott

Description

@cameronelliott

Is this package more like goroutines or coroutines?

goroutines: green-threads: cooperative-multitasking through context switching using a library or run-time.
(goroutines are non-preemptive, I believe, but the runtime decides when to context switch)

coroutines: cooperative-multitasking through subroutine yield or calls.

I didn't really understand from the Readme, which describes this package as coroutines, but compares it to go Goroutines/green threads.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions