Hear me out. I may be crazy, but hear me out....
My mind was blown when I discovered that someone had built an LLVM to Javascript compiler:
Some of the demos are really impressive, especially the OpenGL and Qt demos.
Then I remembered that Julia is an LLVM-based language. We could, in theory, compile Julia down to Javascript. It's been done for Python, Lua, Ruby, and a few other languages.
I would ordinarily say that having a Javascript version of Julia would be useless, albeit cool, but then I realized it could be used for the Web REPL. The Web REPL has some problems. It's insecure, it crashes often, and behaves weird if you give it input it doesn't like.
If you go to
http://repl.it/ you'll see a really nice Web REPL for Python and the other languages that have been compiled with emscripten. We could do something like that for Julia.
Would performance suffer? Yes, I'm sure, but javascript is pretty fast, and avoiding an http roundtrip for each request would probably make up for some of the performance lost by essentially using javascript as a VM. Would it be difficult to do? Absolutely. What are the implications in terms of JITing the code? I have no idea. I'm not too well versed in LLVM. Am I nuts? Probably.