# How to compile Julia to WASM

**URL:** <https://discourse.julialang.org/t/how-to-compile-julia-to-wasm/18857>\
**Category:** Internals & Design\
**Created:** [December 20, 2018, 4:26pm UTC](https://discourse.julialang.org/t/how-to-compile-julia-to-wasm/18857 "2018-12-20T16:26:15Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![sdanisch](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sdanisch/32/1406_2.png) [@sdanisch](https://discourse.julialang.org/u/sdanisch)\
**Post date:** [December 20, 2018, 4:26pm UTC](https://discourse.julialang.org/t/how-to-compile-julia-to-wasm/18857/1 "2018-12-20T16:26:15Z")

</div>

Hi everyone,  
I wrote an article about the different ways julia can run in the browser, together with a reproducible tutorial about how to compile Julia to Wasm:

> **[Julia in the Browser](https://nextjournal.com/sdanisch/wasm-julia)**

Most of the work has been done by @Keno. Hopefully this will help to set up some more people to get this project going, while taking away the work from @Keno!  
You can remix the article and edit it to actually compile julia to wasm: sign up code: `julia1.0`.  
Not sure if we can reach a wider audience with this, but I posted it to HN in any case 😉

Best,  
Simon

---

<div class="post-metadata">

**Author:** ![\_rob](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/_rob/32/4276_2.png) [@\_rob](https://discourse.julialang.org/u/_rob)\
**Post date:** [December 21, 2018, 2:57am UTC](https://discourse.julialang.org/t/how-to-compile-julia-to-wasm/18857/2 "2018-12-21T02:57:18Z")

</div>

Neat.  
Just a note, the link to the docker container gives a 404.

---

<div class="post-metadata">

**Author:** ![Tero\_Frondelius](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tero_frondelius/32/7629_2.png) [@Tero\_Frondelius](https://discourse.julialang.org/u/Tero_Frondelius)\
**Post date:** [December 21, 2018, 5:57am UTC](https://discourse.julialang.org/t/how-to-compile-julia-to-wasm/18857/3 "2018-12-21T05:57:27Z")

</div>

> [@sdanisch](#):
>
> I posted it to HN in any case

Sorry, I couldn’t find it to upvote.

---

<div class="post-metadata">

**Author:** ![leethargo](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/leethargo/32/6004_2.png) [@leethargo](https://discourse.julialang.org/u/leethargo)\
**Post date:** [December 21, 2018, 11:09am UTC](https://discourse.julialang.org/t/how-to-compile-julia-to-wasm/18857/4 "2018-12-21T11:09:20Z")

</div>

There’s a search field at the bottom of HN.

---

<div class="post-metadata">

**Author:** ![Tero\_Frondelius](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tero_frondelius/32/7629_2.png) [@Tero\_Frondelius](https://discourse.julialang.org/u/Tero_Frondelius)\
**Post date:** [December 21, 2018, 11:34am UTC](https://discourse.julialang.org/t/how-to-compile-julia-to-wasm/18857/5 "2018-12-21T11:34:06Z")

</div>

> [@leethargo](#):
>
> There’s a search field at the bottom of HN.

Neither “julia” nor “wasm” as a search term work.

---

<div class="post-metadata">

**Author:** ![leethargo](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/leethargo/32/6004_2.png) [@leethargo](https://discourse.julialang.org/u/leethargo)\
**Post date:** [December 21, 2018, 11:43am UTC](https://discourse.julialang.org/t/how-to-compile-julia-to-wasm/18857/6 "2018-12-21T11:43:41Z")

</div>

I tried “julia wasm” and got it as the first result. The title is actually “How to run Julia in the Browser”. [Comments](https://news.ycombinator.com/item?id=18726050)
