Wolfram Engine vs Julia

Is there any interface between Julia and Wolfram Engine?

There seems to be this one:

2 Likes

You can see a hint of one in Stephen Wolfram’s talk:

3 Likes

If you want to call Julia from Mathematica, look at this:

1 Like

Actually I want to use Julia to write a front end of the free Wolfram Engine, but couldn’t find any documentation on that …

MathLink.jl is what you need. If you want to write a GUI frontend, you’ll also need a GUI toolkit like GTK.jl or Mousetrap.jl.

But there’s already a free Jupyter notebook kernel frontend for the Wolfram Engine:

5 Likes

I would rather suggest QML.jl. Easy to use and powerful. Only a basic documentation, but lots of examples. And if you know JavaScript then QML is easy (very close).

1 Like

There are no docs on that actually. I am of the maintainers of WLJS Notebook (open source frontend for Wolfram Engine), and can say that you need to run HTTP server on wolframscript and handle the requests in a nutshell.

The easiest one would be to export everything to InputForm, where the expression is valid for secondary input. Depending on how far you want to go, you may export most things to base64 images using rasterize or export raw expressions to ExpressionJSON. Then it is nice to interpret it with Julia. We did it like that and then render them using JavaScript

3 Likes