You can also try Julia in your browser here: https://cloud.sagemath.com However, you have to (1) make a free account, (2) create a project, (3) open project, click on "+New", click Terminal, (4) type "julia". If you create a .jl file instead of a Terminal (at +New), you'll have proper Julia syntax highlighting and indentation; you can then run that file from the terminal... (Disclaimer: I'm the founder of SageMathClo…
Try Julia
21–30 of 105 posts
Re: Try Julia
#22As a general question, is Julia Studio the best way to go about setting up a workflow? Or should I go with something like a Julia plugin for Sublime Text (which I believe exists). Or are there any other tools out there that make Julia dev straightforward?
Re: Try Julia
#23 Julia's standard library includes a host of mathematical functions, in addition to the standard operators. Complex numbers are also supported, using the built-in im unit:
round(pi)
lcm(54, 392, 232) # least common multiple
sqrt(square(100))
e^(pi * im)
log(e ^ 2) + log10(100)
When you're ready, type "next" to continue
julia> round(pi)
no method round(MathConst{:π},)Re: Try Julia
#24I've been struggling with building a C++ library for astrodynamics simulations (anything involving the motion of objects in space) within my research group for the last four year. The biggest problem is that for our applications, performance-wise a lot of high-level languages just don't cut it (particularly MATLAB, which is pushed down our throat from freshman year onwards). After some deliberation (and before Python…
Not directly related to performance, but you might be interested in this: https://github.com/helgee/JPLEphemeris.jl
Re: Try Julia
#25 Undefined
500
Is this broken?Re: Try Julia
#26Not seeing a prompt. It might be because of the internal "POST http://forio.com/julia/repl/sessions 503 (Service Unavailable)" error?
Probably got "slashdotted".
Re: Try Julia
#27Everything returns: Undefined 500 Is this broken?
Re: Try Julia
#28There are several options, I chose the one with sudo gedit /etc/apt/sources.list and
1514 sudo gedit /etc/apt/sources.list 1515 sudo apt-get update #not needed 1516 sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3D3D3ACC 1517 sudo apt-get update 1518 sudo apt-get install julia (there are broken dependencies) 1519 sudo apt-get install libopenblas-base 1520 sudo apt-get update 1521 sudo apt-get install libopenblas-base 1522 sudo apt-get install libatlas-base-dev 1523 sudo apt-get install libopenblas-base 1524 sudo apt-get install julia 1525 julia 1526 history | tail 1527 history | tail -n 20
Re: Try Julia
#29Re: Try Julia
#30I've been struggling with building a C++ library for astrodynamics simulations (anything involving the motion of objects in space) within my research group for the last four year. The biggest problem is that for our applications, performance-wise a lot of high-level languages just don't cut it (particularly MATLAB, which is pushed down our throat from freshman year onwards). After some deliberation (and before Python…
Regarding workflow, the best option is IJulia ( https://github.com/JuliaLang/IJulia.jl ) which has nice integration with plotting and useful things like LaTeX. Vi and Emacs are well-supported, and I know the Sublime tools have gotten a lot of attention from several people. Not directly related to performance, but you might be interested in this: https://github.com/helgee/JPLEphemeris.jl
That JPL Ephemeris library has given me an idea. I think I might try porting over the NAIF Spice [1] toolkit to Julia. It has MATLAB, IDL, C and FORTRAN ports so I think Julia would fit right in there.