Comments by "" (@pierreollivier1) on "Tech With Tim"
channel.
-
for you maybe not but mojo, has a very promising future, mainly because they are making the compiler smarter which in turns make the languages easier to optimise for AI research and other devs, (but mainly AI) which often rely on custom or very specialised hardware, like GPU, TPU etc, and previously one had to go figure what was the size of the registers on the cpu(s), refactor the code to take advantage of the line size of the cache, reformat to improve the branching prediction of the pre-fetcher, go and optimise the assembly to take advantage of the AVX512, or refactor to take advantage of the SSE2, to use the SIMD by reducing the long chain dependency of the code. I could go on but basically the guy behind MOJO, is the compiler god, he's the guy behind LLVM which is still today's standard for modern compiler backend, he's the guy behind swift, which is a really cool languages, better than C# for mobile dev. The guys is really good, and now he's working on making a superset of Python somewhat similar like C++ and C, so everything you've learned and used so far in python, will work fine with mojo, it will just go BRRRRRR and be faster
2
-
True but if you look more closely, Mojo isn't a random guy's garage project, behind it is Chris Lattner, the guy who created LLVM, which is now the backend for a lot of modern compilers, He created swift, which is still a very popular and appreciated language. He's bringing very nice features to Python making it way more powerful, the aim is to make it easier to write code, rely less on C libraries, and have a better use of the specialised hardware. So even if you are not into AI, you'll most likely benefit from using Mojo instead of python
2