You mention in the readme about in the future possibly using Cxx.jl to wrap
libchromiumcontent. Might you be able to avoid the need for Cxx.jl by using
the C API of the Chromium Embedded Framework
<http://code.google.com/p/chromiumembedded/>?

On Tue, Jan 6, 2015 at 7:31 PM, Jeff Waller <[email protected]> wrote:

> Oh man, I think there might be a way!
>
> Inspired by this because you know Atom is essentially node + chromium, I
> tried
>
> git clone node-julia
> and then
>
> bizarro% cd node-julia/
>
> bizarro% HOME=~/.atom-shell-gyp node-gyp rebuild --target=0.19.5
> --arch=x64 --dist-url=
> https://gh-contractor-zcbenz.s3.amazonaws.com/atom-shell/dist
>
> that 0.19.5 value is critical and I ended up just trying the versions at
> random....
>
> linked node-julia in
> pwd
>
> /Applications/Atom.app/Contents/Resources/app/node_modules
> bizarro% ls -l node-julia
> lrwxr-xr-x  1 jeffw  staff  32 Jan  6 18:10 node-julia -> /Users/jeffw/src
> /atom/node-julia
>
>
> and then finally within the javascript REPL in Atom
> var julia = require('node-julia');
> undefined
> julia.exec('rand',200);
> Array[200]
>
>
> and then (bonus)
> julia.eval('using Gadfly')
> JRef {getHIndex:function}__proto__: JRef
> julia.eval('plot(rand(10)');
>
>
> that last part didn't work of course but it didn't crash though and maybe
> with a little more...  A julia engine within Atom.  Would that be useful?
> I'm not sure what you guys are wanting to do, but maybe some collaboration?
>
> -Jeff
>

Reply via email to