Author Archives: julia on Abel Soares Siqueira

Best Frenemies: Julia and Python

By: julia on Abel Soares Siqueira

Re-posted from: https://abelsiqueira.com/blog/2023-09-05-best-frenemies-julia-and-python/

Julia and Python are often seen as competitors, but in this video I want to show the integration between them. Using the PythonCall and the JuliaCall packages we can call Julia from Python and Python from Julia.
Check the video out or check edited transcript below.

Don’t forget to like and subscribe.

Banner for youtube video

Download the python-from-julia.jl Pluto notebook.

Download the julia-from-python.ipynb Jupyter notebook.


There are currently two ways to integrate Python in Julia and Julia in Python. These two main packages are PyCall and PythonCall and their corresponding Python package.
I have talked about PyCall in a series of blog posts in the past, comparing Python being improved by C++ and Python being improved by Julia up to the point that we actually made the Julia code faster than the C++ code in this specific instance.
Now I’m going to talk about the PythonCall package and the corresponding JuliaCall package which are newer.

Julia Language Can’t Even Handle Simple Math

By: julia on Abel Soares Siqueira

Re-posted from: https://abelsiqueira.com/blog/2023-08-30-julia-language-cannot-handle-simple-math/

I have a new video up about how Julia cannot even handle simple math! Check the video out or check an edited written version below.
Don’t forget to like and subscribe
Introduction Julia is supposed to be a great programming language, but it can’t even do simple math correctly. Take a look at this:
julia> 0.1 + 0.2 – 0.3 5.551115123125783e-17 It should be zero, but it’s actually not. The notation means

Julia Language Can’t Even Handle Simple Math

By: julia on Abel Soares Siqueira

Re-posted from: https://abelsiqueira.com/blog/2023-08-30-julia-language-cannot-handle-simple-math/

I have a new video up about how Julia cannot even handle simple math! Check the video out or check an edited written version below.

Don’t forget to like and subscribe

Banner for youtube video


Introduction

Julia is supposed to be a great programming language, but it can’t even do simple math correctly.
Take a look at this:

julia> 0.1 + 0.2 - 0.3
5.551115123125783e-17

It should be zero, but it’s actually not.
The notation means