julia

Best way to run Julia code in an IPython notebook (or Python code in an IJulia notebook)

Best way to run Julia code in an IPython notebook (or Python code in an IJulia notebook) Question: My goal is to run only a few lines of Julia in an IPython notebook where the majority of the code will be Python for some experiments … I found a nice example notebook here: http://nbviewer.ipython.org/github/JuliaLang/IJulia.jl/blob/master/python/doc/JuliaMagic.ipynb And …

Total answers: 5

Floating point math in different programming languages

Floating point math in different programming languages Question: I know that floating point math can be ugly at best but I am wondering if somebody can explain the following quirk. In most of the programing languages I tested the addition of 0.4 to 0.2 gave a slight error, where as 0.4 + 0.1 + 0.1 …

Total answers: 3

Parallelism in Julia: Native Threading Support

Parallelism in Julia: Native Threading Support Question: In their arXiv paper, the original authors of Julia mention the following: 2.14 Parallelism. Parallel execution is provided by a message-based multi-processing system implemented in Julia in the standard library. The language design supports the implementation of such libraries by providing symmetric coroutines, which can also be thought …

Total answers: 1