Mojo, the new programming language that released in May 2023 is proven to be 35,000 times faster than the Python programming language.
image by freepik |
Python is a very popular language for its small coding syntaxes and better writability. If you are writing a program in Python you don't even need to use a semicolon(;), but with compare to C or CPP language Python is very slow that is why most of it's modules are written in C language. Now Mojo combines the usability of Python with the performance of C, in this way it can contain speed of C language and easy syntax of Python language and that's why it can be called the language for future.
Who created Mojo?
Mojo is created by Chris Lattner. He is an American computer scientist better known for the creation of Swift programming language. It took him almost 4 years(2019-2023) to complete this language.
Purpose of Mojo
Since when Python is introduced the usage of this language in the sector of Machine Learning and Artificial Intelligence is hilarious. But when the data is too much the performance of Python become really poor. Mojo on the other hand uses LLVM compiler toolchain and MILR ( Multi-level Intermediate Representation Overview) compiler infrastructure, and for that it's tremendously fast for this type of jobs. Even it's parent company Modular claims that it's a language for A.I developers and with the speed comparison there should be no doubt.
Will Mojo replace Python?
Well, the simple answer is no. Without a doubt Mojo is the fastest language present in 2023 but after all it's a superset of Python. Using C language the creator of this language reduces the slowness of Python also added many extra features. It contains a fire emoji as an extension, which is really weird for a programmer, because if we're using this language in our local machine then we can't write the extension using our keyboard. If we found a way to overcome that problem still Python contains a huge community, and people are working with Python over years. In this scenario the adaptation of new language may seem to be a bit difficult for the people belongs to the community. Still it all depends on the future perspective of programming.
Wanna try mojo?? click here