# PyScript is very cool

**URL:** <https://discourse.julialang.org/t/pyscript-is-very-cool/89306>\
**Category:** Offtopic\
**Created:** [October 26, 2022, 3:45pm UTC](https://discourse.julialang.org/t/pyscript-is-very-cool/89306 "2022-10-26T15:45:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![runjaj](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/runjaj/32/23628_2.png) [@runjaj](https://discourse.julialang.org/u/runjaj)\
**Post date:** [October 26, 2022, 3:45pm UTC](https://discourse.julialang.org/t/pyscript-is-very-cool/89306/1 "2022-10-26T15:45:06Z")

</div>

I just visited the [PyScript](https://pyscript.net) website and I found it very impressive. It’s a way to run Python applications in the browser. The good part is that you don’t need a server, everything is run locally. Matplotlib, numpy and more are available.

I feel quite jealous.

---

<div class="post-metadata">

**Author:** ![Palli](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/palli/32/3380_2.png) [@Palli](https://discourse.julialang.org/u/Palli)\
**Post date:** [October 26, 2022, 5:01pm UTC](https://discourse.julialang.org/t/pyscript-is-very-cool/89306/2 "2022-10-26T17:01:53Z")

</div>

Julia already runs in a web browser with WebAssembly (was slow to start when I tried it though). If it doesn’t work well now, then now is a good time to improve it, a lot of work has gone into faster (pre)compilation and smaller (tiny) Julia binaries (that though do not support everything, but seem still very relevant to WebAssembly).

I’ve not tried it with Pluto demo or other notebook:

> [@JupyterLite, Julia and WebAssembly?](https://discourse.julialang.org/t/jupyterlite-julia-and-webassembly/74496):
>
> Looks like [JupyterLite](https://github.com/jupyterlite/jupyterlite) is getting more traction for teaching, demos, and so on. Does anyone have concrete plans regarding Julia at this point? I know @Keno, @vchuravy and others have work going on in [https://github.com/Keno/julia-wasm](https://github.com/Keno/julia-wasm) and there’s a [Pluto on WASM demo](https://pluto-wasm-backend.netlify.app/editor.html) , so I guess the technical basis may be there already? Would it be feasible to have WASM as a build-target for binary deps in Yggdrasil, even?

> **[GitHub - jupyterlite/jupyterlite: Wasm powered Jupyter running in the browser 💡](https://github.com/jupyterlite/jupyterlite)**
>
> Wasm powered Jupyter running in the browser 💡. Contribute to jupyterlite/jupyterlite development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![Palli](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/palli/32/3380_2.png) [@Palli](https://discourse.julialang.org/u/Palli)\
**Post date:** [October 26, 2022, 5:17pm UTC](https://discourse.julialang.org/t/pyscript-is-very-cool/89306/3 "2022-10-26T17:17:03Z")

</div>

If you want to try with WebAssembly to make faster, then this might help:

> [@Julia startup speed cut in half. Was: (Unofficial) Julia 1.9 for lower latency (startup)](https://discourse.julialang.org/t/julia-startup-speed-cut-in-half-was-unofficial-julia-1-9-for-lower-latency-startup/83338/13):
>
> [None of this needs 1.9, I’m timing with 1.8.1 currently.] FYI: The search in the docs finds nothing for filter\_stdlibs only for filter\_stdlibs=true (and then only under Apps). That seems like a bug in the search function not your package (or then only for the markup you use). Would you be opposed to the official Julia binary download including a non-default sysimage for scripting and benchmarks (I think Debian’s would approve of it, though maybe only if it’s an official one) with it, as I des…

It should help with the download/startup of the web too, cut in in half too, hopefully.
