Skip to content

Compiling to a WebAssembly targetΒ #39

@agriyakhetarpal

Description

@agriyakhetarpal

Hi there! I am trying to package, in specific, add a recipe for crc32c for Pyodide, a Python distribution compiled using the Emscripten toolchain to WebAssembly that enables running Python code in the browser. I thought that I should reach out here! Would a package maintainer or core developer for crc32c be able to help out on the compilation side of things? I imagine that with the help of the maintainers and author(s) here, this arduous task would be rendered much easier than with the efforts of a limited number of people who would otherwise be trying to figure this out alone.

I would be happy to share further context around this: the reason for this feature request is that version 3 of the Zarr Python package is going to use crc32c as a required dependency, and therefore wheels for crc32c for a wasm32 platform tag (with the ABI and ABI tags managed by the Emscripten version), which would be distributed through the Pyodide CDN across browsers and handled by Pyodide's infrastructure and developer tooling for building in-tree packages would be a wonderful addition towards bringing Zarr (and other dependents that might be using crc32c) to run on WASM-based platforms like JupyterLite.


xref: here is the corresponding issue on the Pyodide repository that I opened a while ago: pyodide/pyodide#4787

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