Rust even have inline assembly. So, you can even write assembly inside Rust code.
As much as I love assembly, that really isn't scalable for 99.9% of projects. It also is often extremely unorgonomic. So yes, it is doable, but most of the time it isn't practical and shouldn't really be considered. That said, rust is fundamentally a low level language, if you know it well enough and put in enough effort you should be able to generate anything you want.
So, if you put as much work into writting code for DNA parsing as they put in Mojo, you could make same thing.
If you put 3 years of work in mojo to create some function which can run some work fast and now you just need 3 minutes to use this functions and try to compare to other programming language after working on code only for few hr. Can this even be called comperison between programming languages?
It is just comperison between code and one code god 3 years of work, other 2 hr.
I am really not sure I follow the logic here. Fundamentally, mojo authors made a nicer wrapper for simd. There has been many times less work put into mojo than rust. The mojo authors have also never optimized anything for DNA parsing. Some random person spent a weekend working on writing a DNA parser in mojo. This work is competitive with a long existing Rust DNA parser.
Is it a fair comparison? Probably not. I am sure they are no where near feature parity. That said, it doesn't necessarily need to be. This happens all the time as people work on and release new frameworks. It can be seen in the Hyper vs Actix vs Axum debates that have happened within the rust community (especially when some of those frameworks were much newer and less developed).
all benchmarks done to compare two different programming language are uselless. Speed very much depends at many different things.
...
In the end it does not matter which language is faster. Important point how well you as programer understand language and if you can write fast code using it.
If you try to write code in language you don't understand and algorithm you don't understand in language (lets say C) end result may be slower than code writen in Python.
I think this is too pessimistic of a sentiment. Otherwise, why would anyone ever switch to a new language for performance (which definitely does happen)? They would be less familiar with new language. By this logic, they should only make worse and slower code. This simply is not true.
Generally speaking, if you write the same algorithm in python and rust, the rust version will run much much faster (even if you don't fully understand the borrow checker and throw in some extra cloning). Same with JS and C.
Yes, we have to be weary of language benchmarks, but there is a reason that all the high performance libraries in python are actually written in C, C++, or Rust. It doesn't matter how familiar someone is with python. It has fundamental limitations in execution model. Mojo is a superset of python, but obviously introduces a ton of extra features. Even on a benchmark like this, I think it is really cool to see that Mojo is able to generate performance even very roughly similar to Rust while having an incremental development path from python.