Any updates on this?
On Friday, 13 December 2013 15:16:31 UTC+2, tshort wrote: > > I've played a little with this. Using Jameson's static compile branch, I > was able to dump some functions compiled by Julia to LLVM IR and compile > these with Emscripten. I did have to mess with some symbol names because > Emscripten doesn't like Julia's naming. See an Emscripten issue here: > > https://github.com/kripken/emscripten/issues/1888 > > I also took a quick look at compiling openlibm, and I ran into some > nonportable header stuff that would need to be worked on. > > The nice thing about trying to get compiled stuff to run is that you don't > necessarily need all of Julia compiled. That means faster downloads, and > that we don't have to get everything working at the beginning. > > It'd be great if we could position Julia to be the leading numerical > language for the web. With both Firefox and Chrome running asm.js within 2 > - 4X of native, I think there's lots of opportunity here. > > > > On Fri, Dec 13, 2013 at 12:22 AM, John Myles White <johnmyl...@gmail.com > <javascript:>> wrote: > >> I think it would also be great to think a bit about how we might use >> Julia to generate LLVM IR to generate Javascript for certain simple web >> tasks. Writing Julia code and then letting a package compile it into an >> includable Javascript file could be really fun. >> >> ā John >> >> On Dec 12, 2013, at 9:19 PM, Stefan Karpinski <ste...@karpinski.org >> <javascript:>> wrote: >> >> > Iām not sure how practical it really is to wait until runtime to >> compile your code rather than precompiling it >> > >> > It's pretty frigging practical, as it turns out. This is great. More >> work in this direction and we may actually be able to run a full Julia >> instance in a browser. >> > >> > >> > On Fri, Dec 13, 2013 at 12:14 AM, John Myles White < >> johnmyl...@gmail.com <javascript:>> wrote: >> > The Emscripten folks are doing some really cool stuff: >> http://badassjs.com/post/39573969361/llvm-js-llvm-itself-compiled-to-javascript-via >> > >> > ā John >> > >> > >> >> >