It should be possible to get a static version of JupyerLab with CPython
compiled with emscripten (with this setup you should also be able to get a
Javascript kernel up and running, I think).
However, I think that if you wanted any of the scientific stack (numpy,
scipy, etc) you will have a much more difficult time of it. These all rely
extensively on compiled C and Fortran code, and have pretty complicated
build processes. All of these compiled modules would also need to be passed
through emscripten.

Ian

On Tue, Nov 22, 2016 at 6:58 AM, Thomas Kluyver <[email protected]> wrote:

> I guess that Simon was thinking of including an emscripten-ed cpython to
> run the user's code in the notebook. I think it's quite plausible, if quite
> a bit of work, to do that, and it would be a really fascinating tool for
> certain situations, like teaching basic programming. Turning it into a
> totally static webpage would probably require some more work, to save
> notebooks in local storage instead of on the server.
>
>
> On 22 November 2016 at 14:46, Steven Silvester <[email protected]>
> wrote:
>
>> Hi Simon,
>>
>> An individual plugin could conceivably be written in CPython and compiled
>> to JavaScript using emscripten.  Almar Klein is working on a CPython ->
>> JupyterLab plugin generator right now using the pyscript compiler in Flexx
>> (not yet published).   https://github.com/zoofIO/flexx.
>>
>>
>> Regards,
>>
>> Steve
>>
>>
>> On Sunday, November 20, 2016 at 6:50:25 PM UTC-6, Simon Biggs wrote:
>>>
>>> Supposedly http://repl.it was able to use emscripten to compile CPython
>>> to javascript. How plausible might it be to have the base jupyterlab also
>>> compiled and have a minimal working version of jupyterlab hosted as a
>>> static web page? Am I just talking nonsense, or does the fact the
>>> webassembly is a fast approaching standard make this a project worth
>>> investigating?
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Project Jupyter" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To post to this group, send email to [email protected].
>> To view this discussion on the web visit https://groups.google.com/d/ms
>> gid/jupyter/d3a82f6f-9348-4262-9d22-ee99a935614d%40googlegroups.com
>> <https://groups.google.com/d/msgid/jupyter/d3a82f6f-9348-4262-9d22-ee99a935614d%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Project Jupyter" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/jupyter/CAOvn4qi0NUSGgbdoyNqg2MMpzKuf75q0had80EEA2dxOVQFWmw%40mail.
> gmail.com
> <https://groups.google.com/d/msgid/jupyter/CAOvn4qi0NUSGgbdoyNqg2MMpzKuf75q0had80EEA2dxOVQFWmw%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/CAEm%3D8TSu07knwW-8Qcr1utCJahLrFf5U5ot0K%2BZ14DDnNpnxKg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to