Goodbye, Python, hello, Julia

Sajjad Hussain
Sep 13 · 6 min read
Image for post
Image for post

Julia was released in 2012 and was developed and incubated by the Massachusetts Institute of Technology (MIT) Computer Science and Artificial Intelligence Laboratory. It is a free and open source language.

Regarding the birth of the language, the Julia team stated:

Julia is very suitable for mathematical and numerical calculations, and very suitable for expressing ML algorithms. At the same time, it incorporates new ideas in modern design and compilers, making it easier to meet cutting-edge high-performance requirements.

According to MIT reports, Julia has been downloaded more than 3 million so far and is used in scientific and numerical computing in more than 1,500 universities. The Julia development team has conducted research on Julia users in more than 90 countries and found that 93% of the respondents love Julia, and the mainstream languages ​​Python and C are beyond the reach.

Why everyone started using Julia

Julia’s most popular technical features include fast and high-performance, easy to use, open source, multiple distribution and solving two language problems; the most popular non-technical features include freedom, community developers are talented and active, easy to create packages, and Use the MIT license.

Regarding the question of “why would you use Julia”, 52% of respondents said that Julia seems to be the language of the future, and 43% believe that it can make work faster. According to the data previously released by foreign media ZDNet, Julia’s GitHub Star count has doubled in the past year, and the language has been cited by more than 1,000 academic publications.

Python and Julia, who is the king?

Nowadays, Python and R languages ​​usually dominate machine learning. In terms of developer popularity, Python is still the fastest-growing programming language, which depends largely on the advantages of its machine learning frameworks and libraries. In contrast, only a relatively small percentage of developers use the fledgling Julia. Python does have an absolute advantage in the scope of use.

Python does have many advantages Python code is relatively easy to read and understand, supports multiple programming paradigms, has various software libraries into which code can be placed, and can be extended to large-scale applications. There are also many high-quality free tutorials, courses and videos on the Internet, which is very conducive to dissemination.

The number of professional and technical personnel vacancies in the AI ​​field exceeds 5 million! With the continuous upgrading of technical requirements, the demand for skills in the most general programming language Python has increased by as much as 174%! Projects such as Google earth, Google crawler, and Google ads are also using Python to develop extensively. Many Internet companies, including Instagram, Reddit and Pinterest, use Python as their main programming language.

During the two sessions, artificial intelligence technology has become a national strategy, and entering the field of artificial intelligence, Python is the only way to go, and Python engineers are hot! Of course, Python can not only be engaged in AI-related work, but also many positions such as data analysis, crawling, web development, etc. are also essential items for large companies!

For beginners, simplified humanized syntax + fast writing and execution make Python very easy to get started. In terms of syntax, Python seems to be born as a programming language for programmers’ coding efficiency. Many type restrictions or constraints that need to be given during the compilation stage of other programming languages ​​can be omitted in Python. From the following two simple Python and Java comparison examples, you can see the concise characteristics of Python.

In addition, the Python language is also designed to be closer to natural language. For example, in Python, the “{}” used in many programming languages ​​is not used to limit the code block, but is completely restricted by indentation, which makes the Python code cleaner and more consistent, and provides better readability Sex. It has been circulating in the world that the entry time of Python is calculated by the day, and the entry time of C++ is calculated by the year. Life is short, I use Python!

In the enterprise field, the emergence of big data and cloud computing applications in recent years has promoted Python’s rapid success. Python is very easy to convert tedious and disorderly messy data into usable structured data, which is very helpful in the processing of big data, which makes it one of the most popular languages ​​in data science and is used in machine learning and AI systems. And other modern technologies.

For example, when using Pandas (Python Data Analysis Library) to write data processing programs, only a dozen lines of code can achieve the effect of three times the amount of JAVA code, which greatly improves the efficiency of data processing.

In addition to Julia and Python, these languages ​​can also play

For programmers, there is no best language, only the language most suitable for your development scenario. Even if I blow up Python, I believe there will still be people calling for PHP and standing for Java, saying that C# is not one of the best languages… After all, many programming languages ​​are still powerful mainstream.

Java is one of the most popular and successful programming languages. The mission of Java is WORA (Write Once Run Anywhere)-”Write Once Run Anywhere”. The independence of the Java platform is an important pillar of success in the enterprise field. It is by far one of the most popular application programming languages.

One advantage of the C language is that no matter where in the world, its running speed is relatively comparative. Not only that, the first programming language in many domestic colleges and universities also uses C. For students in majors, they should master and be familiar with C. Is very important. C++ was developed as a next-generation language in the C popular era. Compared with structured C programming, its most significant programming feature is object-oriented. C++ has been widely used in the IT field because it is compatible with local systems and has object-oriented features.

The Go language was born at Google in 2009 and was written by Rob Pike, Ken Thompson and Robert Griesemer, three great masters in the computer field. Backed by Google, Go attracted the attention of a large number of developers at the beginning of its birth. Since its inception ten years ago, many Go-based applications have emerged.

PHP language is an open source multi-purpose scripting language for web development. It can be executed from the server side and embedded in HTML code. A very common use is to extract data from a database on a web page. There are three main places to use PHP scripts: server-side scripts, command-line scripts, and writing desktop applications.

Rust and Go are also emerging languages. Rust, a system programming language developed by Mozilla, is particularly outstanding in terms of security, and has been ranked as the “most favorite programming language” in the Stack Over flow developer survey for the past three years. Getting started with Rust is harder than Go language, but it is very fast, the tool chain is very good (cargo), most things are checked at compile time; you can use it to do almost anything, you can write browsers, write web applications, and even Write the game.

In fact, whether it is Julia or Python, it doesn’t really matter what language you use. It is important to know that every language has its disadvantages, and no language is impeccable. New languages ​​are emerging in endlessly to support the development of machine learning. What we want to maintain is a heart of continuous learning.

Cloud Belivers

Everything you need for your next application task

Medium is an open platform where 170 million readers come to find insightful and dynamic thinking. Here, expert and undiscovered voices alike dive into the heart of any topic and bring new ideas to the surface. Learn more

Follow the writers, publications, and topics that matter to you, and you’ll see them on your homepage and in your inbox. Explore

If you have a story to tell, knowledge to share, or a perspective to offer — welcome home. It’s easy and free to post your thinking on any topic. Write on Medium

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store