Pyodide 0.19.0 release

Pyodide 0.19 is a major release focused on improving the build system, updating scientific computing packages, and improving the workflow for loading Python code. Here are a few highlights. For the complete list of changes see the changelog. Removal of function pointer cast emulation Some Python C extensions use function pointer casting, which is an unspecified behavior according to the C specification. However, all common native C compilers generate code that works fine. This is not the case with Emscripten when building for WebAssembly, which will fail on function pointer casts. As a workaround we have been using Emscripten’s -s EMULATE_FUNCTION_POINTER_CASTS flag, which emits code to emulate function pointer casts at runtime. This has significant overhead. ...

January 10, 2022 · 4 min · Hood Chatham and Roman Yurchak, on behalf of the Pyodide team

Pyodide becomes member of the Open Source Collective

We would like to announce that Pyodide is now a member of the Open Source Collective (OSC), which will act as the project’s fiscal host. The Pyodide project compiles Python and the scientific stack to WebAssembly using Emscripten. Pyodide was created in 2018 by Michael Droettboom at Mozilla as part of the Iodide project. Later in 2021 Pyodide became an independent open-source project, and the current announcement completes this transition. Pyodide is now able to receive donations and accept sponsorships though Open Source Collective, which should help long term project sustainability. We have looked at a few non-profit umbrella organizations before making this choice, and we quite like the financial transparency and ease of setup offered by OSC. In addition, since Pyodide use cases are wider than scientific computing, we felt that a non-specialized fiscal host would be best. ...

November 10, 2021 · 1 min · Roman Yurchak and Hood Chatham, on behalf of the Pyodide team