Any ideas how I can execute Julia Code? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

Any ideas how I can execute Julia Code?

I have rebuilt the Sololearn design to add the missing Julia course. Unfortunately, I have no idea how to implement the code projects so that the user can run Julia code in my course. Do you have any ideas? https://code.sololearn.com/W6Kj77ZmyNC1/?ref=app

9th Feb 2023, 10:28 AM
J. S.
J. S. - avatar
4 Answers
+ 3
Maybe there is a way to make Julia run via another Julia playground, maybe the one on their site? Or some virtual Jupiter notebook, that would be nice... Or you try to call Julia via Python? Haven't tested it myself.
9th Feb 2023, 11:30 AM
Lisa
Lisa - avatar
+ 2
Use an online compiler that supports Julia, such as JuliaBox or Repl.it, to execute the code. Embed the compiler in an iframe in your web page
10th Feb 2023, 7:30 AM
Calviղ
Calviղ - avatar
+ 2
Calviղ I tried to find a solution with Repl.it, but the problem is that I need to run these project tests and for that I would need to access and manipulate the content of the iframe, I can't do that easily. JuliaBox I have not tried yet, I will have a look, thanks.
10th Feb 2023, 11:20 AM
J. S.
J. S. - avatar
0
Lisa I think using the playground on their site might be possible, but very time consuming because they use tokens for requests, which means I would have to get the token via their backend and "fake" a browser client if that is checked, no idea if that is even legal. I think I need to consider if it's worth the time it takes to find a solution.
9th Feb 2023, 4:49 PM
J. S.
J. S. - avatar