by learningwebdev · 6y ago · 0 comments
If Python were a blocker for the adoption and development of ML, it wouldn't be the default language of the most popular ML libs.
The reason is, the high performant code is written in C++/C/Fortran. Python is just used to glue everything and provide a nice and rich interface. That's what really matters.
To me Julia is more to Fortran than Python. And it doesn't have many usages outside numeric programming.
Scapping the Web, building rest APIs, Performing Data Analysis, Automation scripts is much easier in Python than Julia or Swift.
Edit: typos
I am going to watch Julia adoption, and use it more, when and if it becomes more popular.
> To me Julia is more to Fortran than Python. And it doesn't have many usages outside numeric programming.
Again, you're making unsubstantiated claims.
> Python is just used to glue everything and provide a nice and rich interface. That's what really matters.
So, now I have to not only learn Python but also Fortran/C++/C because the underlying library that I might want to adapt is written in one of these languages. In Julia the DL library, for example, is written in Julia. What you are claiming is a pro is actually a con.
> Scapping the Web, building rest APIs, Performing Data Analysis, Automation scripts is much easier in Python than Julia or Swift.
That might be true for Swift, but certainly not for Julia.
Basically the only time you'll want to do this from Python is if there is specific Fortran or C++ library you want to use. You'd have to do the same in Swift or Julia in this case.
You don't need to learn C/C++ or fortran. I've been working with python and ML for about 4 years and haven't touched any C/C++ or fortran to get work done. I agree that it'd be better if we could do everything with just one language but the truth is that Julia is not that language. It's great for HPC but expressive enough for generic things like Web.
See https://genieframework.com/ and interact.jl
Once it can compile it web assembly (work in progress) it be the obvious choice.
Julia might be a good thing to explore once you're up and running.
The most important for newcomers is to pick one language and stick with it long enough to know it well (I would advise for a general-purpose programming language such as python). It will take time before you bump into its limits, and when that happen you can start to look around how things are being done in other languages.
The latter two are tools to send ML models and training pipelines around, so kind of like Google Docs for AI. Colab is on the internet, Jupyter on your PC.
That way, you can easily exchange your experiments with others and/or asks for help online.