Hi Eric, On Tue, Oct 20, 2015 at 6:13 PM, Eric Forgy <[email protected]> wrote:
> Hi Lindsey, > > That sounds awesome! Thanks for sharing. > > A couple of naive questions come to mind... > > Could this be used for generating standalone executables, e.g. for > distributing to users who do not have Julia installed, even for > non-parallel code? > This isn't something we have investigated, at least not yet. When using ParallelAccelerator, you are still running Julia and relying on the Julia runtime; the difference is that some of your code has been compiled to a native library that Julia calls into. There's more information in our README: https://github.com/IntelLabs/ParallelAccelerator.jl#how-it-works Could this be used in conjunction with something like emscripten (or the > like) to compile Julia to JavaScript? > Emscripten compiles LLVM to JavaScript, and Julia already compiles to LLVM, so I don't think ParallelAccelerator (which compiles to C) would really come into play here. In fact, there seems to already be a Julia issue open about compiling to JS via Emscripten ( https://github.com/JuliaLang/julia/issues/9430). That said, targeting LLVM IR with ParallelAccelerator is something we might pursue in the future. Best, Lindsey
