Even though calling Julia through a REST API is certainly a viable
approach, I think that loading the Julia runtime into Rust shouldn't be
hard. See ui/repl.c
<https://github.com/JuliaLang/julia/blob/master/ui/repl.c> for how the REPL
loads and uses libjulia. This should be basically the same from Rust.

On Tue, Dec 16, 2014 at 8:49 PM, Eric Forgy <eric.fo...@gmail.com> wrote:

> Hello,
>
> I am building a web app for enterprise risk management. I've made some
> progress, but considering some significant changes now before I am too
> committed. My current platform is Java/Spring MVC on the back end (C) and
> Jsp, javascript, and d3 for the front end (V) and I was using Java for
> numerical modeling (M). Coming from a 20+ year background using Matlab, my
> experience trying to do any serious numerical modeling in Java is a little
> frustrating so far. While considering alternatives, e.g. Matlab Production
> Server, R, Python, etc, I was naturally led to Julia and am only now
> beginning to research it, but really like what I see so far.
>
> Despite my ambitious goals, I am ignorant about most of the technologies
> I'm using and learning as I go. Do you have any suggestions about how I
> might be able to fit Julia into my Spring MVC framework? How can I call
> Julia from Java? I don't see anything obvious. How about setting up a Julia
> server and communicating with it via RESTful API from Java? Has anyone
> tried anything like that? I eventually want to run everything on AWS.
>
> A bigger change would be to ditch Java all together and build everything
> either entirely in Julia or, I had the thought of building the plumbing in
> Rust and do the numerical modeling in Julia. Thus, capturing the best of
> both. Then, I'd be faced with the same question. How to call Julia from
> Rust? Is that crazy?
>
> A possible solution for both scenarios might be to set up a Julia server
> and design a RESTful API. How does that sound? How about security? Could
> something like this be done if the data in sensitive?
>
> I appreciate any thoughts and I really admire what you're doing with
> Julia. Reminds me of the glory days before I sold my soul to Wall Street
> (PhD computational electromagnetics, UIUC, 2002, MIT Lincoln Lab,
> 2002-2004). I'm considering trying to get back to academics to redeem
> myself before its too late though :)
>
> Best regards,
> Eric
>
>
>
>
>

Reply via email to