Skip to content

add julia #6080

Description

@wangyenshu

github.com/Keno/julia-wasm

But the problem is that julia-wasm is 64bit wasm.

Activity

  1. anutosh491 commented on Jul 28, 2026

    @anutosh491
    Collaborator

    But the problem is that julia-wasm is 64bit wasm.

    Just guessing it can be patched for 32 bit ?

  2. DerThorsten commented on Aug 4, 2026

    @DerThorsten
    Contributor

    when making the next emscripten version update, we should consider to add 32bit and 64bit variants.
    But this might take a while.

  3. wangyenshu commented on Aug 4, 2026

    @wangyenshu
    ContributorAuthor

    Another potential difficulties with julia is that the precompilation step uses too much memory. For some packages, it can go up to 6GB. But most browser only offer 4GB for WebAssembly. I don't know if precompiling on host machine then loading the precompiled code to the virtual filesystem works or not.

  4. DerThorsten commented on Aug 17, 2026

    @DerThorsten
    Contributor

    github.com/Keno/julia-wasm

    But the problem is that julia-wasm is 64bit wasm.

    its also very outdated

  5. wangyenshu commented on Aug 17, 2026

    @wangyenshu
    ContributorAuthor

    But that is the only project that ports Julia repl to browser.

  6. wangyenshu commented on Aug 20, 2026

    @wangyenshu
    ContributorAuthor

    I see https://github.com/emscripten-forge/recipes/tree/emscripten-6x/recipes has wasm64 support. How to use 64bit in a recipe? @DerThorsten I am interested in adding Julia.

  7. DerThorsten commented on Aug 21, 2026

    @DerThorsten
    Contributor

    I see https://github.com/emscripten-forge/recipes/tree/emscripten-6x/recipes has wasm64 support. How to use 64bit in a recipe? @DerThorsten I am interested in adding Julia.

    just make a recipe as usual and then make a PR against the emscripten-6x branch. This will build the recipe for emscripten-wasm32 and emscripten-wasm64.
    For emscripten-wasm64, -m64 is added to the default emcc arguments via the compilers activation script.

    To skip a platform / only build for a certain platform, one can add the following to the extra section of a recipe:

    extra:
      recipe-maintainers:
      - SomeMaintainerHere
      ci:
        exclude_platforms:
        - emscripten-wasm32

    this would then only build for emscripten-wasm64.

    The build packages are then uploaded to this channel: https://prefix.dev/channels/@emscripten-forge-bot/emscripten-forge-6x.

    Keep in mind that all of this is brandnew and there might be breaking changes wrt. how we build wasm64 packages

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions