Skip to content

PocketPy as a lightweight alternative to Pyodide for Pyxel #647

@CodeLazier

Description

@CodeLazier

Currently Pyxel’s web export relies on Pyodide, which makes the package quite large (~9MB+) and slow to start. This can be a barrier for small retro games.

I’d like to suggest exploring PocketPy
as an alternative scripting backend:

Much smaller size (1–2MB WASM vs ~9MB with Pyodide).

Faster startup and execution (closer to Lua-level performance).

Good fit for Pyxel’s design goals: lightweight, portable, retro-friendly.

The main trade-off is reduced compatibility (no full Python stdlib), but for game logic this might be enough.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions