```{post} 2026-12-03
:author: IsabelParedes
:category: compiler, wasm
:image: 1
```

# Emscripten-Forge 6x and wasm64

```{image} ../../assets/blog_banner_wasm64.png
:alt: Emscripten-forge 6x with wasm32 and wasm64
:class: banner dark-light
```

We are excited to announce that emscripten-forge has migrated from **4x** to **6x**. The distribution is now built with **Emscripten v6.0.8**, and packages are available for both the `emscripten-wasm64` and `emscripten-wasm32` platforms.

## New Channel Names

Channel names are now shorter and easier to use. The 4x channel moved from `emscripten-forge-bot/emscripten-forge-4x` to [`emscripten-forge/4x`](https://prefix.dev/channels/@emscripten-forge/4x).

Moving forward, all new packages and updates will land on the [`emscripten-forge/6x`](https://prefix.dev/channels/@emscripten-forge/6x) channel. The [`emscripten-forge/4x`](https://prefix.dev/channels/@emscripten-forge/4x) channel will continue to remain available for existing users, but it is no longer the place for ongoing development.

| Platform \ Channel | [`emscripten-forge/4x`](https://prefix.dev/channels/@emscripten-forge/4x) | [`emscripten-forge/6x`](https://prefix.dev/channels/@emscripten-forge/6x) (latest) |
| --- | --- | --- |
| `emscripten-wasm32` | Yes | Yes |
| `emscripten-wasm64` | No | Yes |


## What is wasm64?

By default, WebAssembly uses 32-bit linear memory. This model is simple and widely supported, but also limited to a **4 GiB** address space per module. [Memory64](https://webassembly.github.io/spec/core/syntax/types.html#memory-types) (wasm64) switches to 64-bit pointers, where modules can use much larger heaps if the host supports it.

This matters for workloads that previously had to split data, stream aggressively, or simply could not run in the browser, such as large numerical arrays, scientific datasets, compilers, and other memory-heavy tools.

Emscripten-forge now ships a dedicated [`emscripten-wasm64`](https://prefix.dev/channels/@emscripten-forge/6x/packages/emscripten_emscripten-wasm64) toolchain to target `emscripten-wasm64`. Hundreds of packages are already available for both wasm32 and wasm64.


## Try it

### JupyterLite

Open a wasm64 JupyterLite demo in the browser, no installation required:

```{raw} html
<p align="center">
  <a href="https://emscripten-forge.github.io/demo-wasm64/" target="_blank" rel="noopener noreferrer">
    <img alt="jupyterlite-badge" src="https://jupyterlite.rtfd.io/en/latest/_static/badge.svg">
  </a>
</p>
```

### Local environments

Create a **wasm32** environment from the 6x channel:

```bash
micromamba create -n forge-6x-wasm32 \
    --platform=emscripten-wasm32 \
    -c https://prefix.dev/emscripten-forge/6x \
    -c conda-forge \
    --yes \
    xeus-python scipy
```

Or a **wasm64** environment:

```bash
micromamba create -n forge-6x-wasm64 \
    --platform=emscripten-wasm64 \
    -c https://prefix.dev/emscripten-forge/6x \
    -c conda-forge \
    --yes \
    xeus-r
```

Browse packages on [prefix.dev](https://prefix.dev/channels/@emscripten-forge/6x).

### Building recipes

On the 6x branch, local recipe builds can target either platform with pixi (`build-emscripten-wasm32-pkg` / `build-emscripten-wasm64-pkg`):

```bash
pixi run -e rattler-build-env build-emscripten-wasm64-pkg recipes/recipes_wasm/brotli
```

## Get Involved

New recipes or patches fixing existing recipes are very welcome. Maintainers migrating packages from 4x should follow the [4x to 6x migration guide](../../development/migrating_4x_to_6x.md). See also [Get Involved](../../project/get_involved.md) and open an issue or pull request on [emscripten-forge/recipes](https://github.com/emscripten-forge/recipes).

### Acknowledgements

This migration would not have been possible without all the contributions from the emscripten-forge community.

### About the Author

**Isabel Paredes** is a senior software developer at QuantStack and a lead developer of emscripten-forge, where she ported the Xeus-R and Xeus-Octave Jupyter kernels to WebAssembly. She has a strong focus on the Jupyter ecosystem (a Jupyter Distinguished Contributor and member of the Jupyter Software Steering Council), and also works on improving the accessibility of JupyterLab. In the past, she has worked on the open-source robotics ecosystem.
