3 ms·
> What is Julia's current niche? Python, but for engineers and scientists. Syntax is friendlier for doing mathematics, barrier to entry to first calculation sc
by sampo 3y ago
> What is Julia's current niche?
Python, but for engineers and scientists. Syntax is friendlier for doing mathematics, barrier to entry to first calculation script is lower
a = [1 2 3]
b = [4 5 6]
a + b
vs
import numpy as np
a = np.array([1, 2, 3])
b = np.array([4, 5, 6])
a + b
Also you can learn Julia step by step, and improve your code to run faster. Whereas in Python, the eventual road to fast code is to write the library in C and call it from Python.
Python is for software people. Matlab, Julia and R are for people who only write code because they want answers.
- sampo 3y ago> Python is for software people. Matlab, Julia and R are for people who only write code because they want answers. Or, Julia can be for both. Julia lets you start from scientific calculations scripts and grow your code to a larger software package. Same as Python grew popular 20 years ago because it let you grow your small sysadmin scripts to larger software. Matlab and R are too limited in their "real programming language" constructs, and it gets painful when your codebase grows larger. Julia has all "real programming language" constructs a software engineer would need.
- the__alchemist 3y agoThis syntax is my favorite feature of Julia's. I wish I could get something like this in python or rust, without a macro mess.