Skip to content

Proposal: make GraalPy async-only? #631

@pwtail

Description

@pwtail

Hi! I have a rather fresh idea: what about making GraalPy async-only?

This includes not supporting blocking I/O and a very limited support of C extensions. Let it extend in Java/Kotlin.

I think, async python is possibly a good space for JVM.

Speaking of implementation (given the JVM has virtual threads) you can make async/await a no-op (instead of using generators like CPython), So async/await keywords to be there just to mark the async code.

What do you think?

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