Does mojo support dynamic dictionaries? Or do you have to specify the value's type? I want a faster python but I don't want everything pydantic Thanks for the video ❤
My only gripe with Mojo is that I wish it was marketed less towards AI and more towards general usage. It literally fixes the 2 major issues with Python that being lack of static typing and bad performance, if they market it as general purpose this could be a drop in replacement for python
Worth mentioning that the original python module could have been run in Mojo. Your mojo program should work with something like: ``` from python import Python fn main() raises: Python.add_to_path(".") # the file path to the directory with the python module you want var search = Python.import_module("search") # this is how you import a Python Module search.main() # running the python module function as you'd expect ``` TBF, you're likely going to see the most dramatic performance increases from pure Mojo.
Excuse me Sir, please can I ask you a question: I just decided to pay for the OpenCV certification, its 1500 canadian dollars, and I m pretty convinced that it is a great investment for my future career in CV. Please can you give me your opinion? It will be a great help Thank you in advance :)
Hard to tell, honestly. OpenCV is a great library, but I can't comment whether the content of that certification will be worth $1,500. Here is what I can tell you: 1. If this certification will help you learn, then yes, take it. 2. If this certification is only about getting a "certificate", then don't take it. Hope this helps!
@@underfitted Thank you for your answer. Well I consider that having a certification is a Big Plus and it can really help me to be upgraded in a massive pool of candidates. I m a fresher data scientist and as I want to be a freelancer and work abroad I think having OpenCV and Tensorflow certifications will give me more credit. Do you believe in certifications values ? Thank you Sir :)
hi. i checked inference time of mojo and standard onnx python model with stable diffusion example. and do not see any speed up difference. may be i did something wrong ? - th-cam.com/video/p63LM1uafLY/w-d-xo.html the same results i got with yolov8 - no speed up.
@@underfitted at that time I was really got shocked how it can be that fast. But as everyone will agree we are still wondering because it’s still much faster than python.
I’ve becoming more and more disappointed with Mojo . The resulting language is nothing alike python, which is great for its simplicity and readability. And the overall performance is not really better than rust or other languages …
I do have to concur, i hope it becomes great but I honestly hoped for mojo to go more pythony instead of adding like seperate function and class anotations. I would have prefered if mojo had just added gradual typing and (similar to how it works in Julia) and then worked from there.
It is a lot more readable and safer than Python because it uses less type inferencing. It's already faster than Rust and in some cases faster than C++.
I am following Mojo development from quite a while, but I love your style and it was a pleasure to watch
Does mojo support dynamic dictionaries? Or do you have to specify the value's type? I want a faster python but I don't want everything pydantic
Thanks for the video ❤
The first one was great. This one was just as great !
Thanks! I made a mistake before, so decided to fix it here.
Thanks for correcting the info there Santi! Eager to see more mojo videos, but with the 🔥 instead of .mojo 😅. Good work man 🙏
Yeah I need to start using the emoji extension
What is the environment in which Mojo is installed? Is it possible to create a conda environments and use it there?
Awesome Underfitted!
My only gripe with Mojo is that I wish it was marketed less towards AI and more towards general usage. It literally fixes the 2 major issues with Python that being lack of static typing and bad performance, if they market it as general purpose this could be a drop in replacement for python
Worth mentioning that the original python module could have been run in Mojo.
Your mojo program should work with something like:
```
from python import Python
fn main() raises:
Python.add_to_path(".") # the file path to the directory with the python module you want
var search = Python.import_module("search") # this is how you import a Python Module
search.main() # running the python module function as you'd expect
```
TBF, you're likely going to see the most dramatic performance increases from pure Mojo.
Yes. I wanted to do the “translation” for the extra gains
THE POLICE AT THE END IS THE CHERRY ON TOP
The requirement of a main function to run a script implies any without a main is a library. And cleans up code a bit
Excuse me Sir, please can I ask you a question: I just decided to pay for the OpenCV certification, its 1500 canadian dollars, and I m pretty convinced that it is a great investment for my future career in CV.
Please can you give me your opinion? It will be a great help
Thank you in advance :)
Hard to tell, honestly. OpenCV is a great library, but I can't comment whether the content of that certification will be worth $1,500.
Here is what I can tell you:
1. If this certification will help you learn, then yes, take it.
2. If this certification is only about getting a "certificate", then don't take it.
Hope this helps!
@@underfitted Thank you for your answer. Well I consider that having a certification is a Big Plus and it can really help me to be upgraded in a massive pool of candidates. I m a fresher data scientist and as I want to be a freelancer and work abroad I think having OpenCV and Tensorflow certifications will give me more credit.
Do you believe in certifications values ?
Thank you Sir :)
i think after 5 years before we can fully use this programming language.
hi.
i checked inference time of mojo and standard onnx python model with stable diffusion example. and do not see any speed up difference.
may be i did something wrong ? - th-cam.com/video/p63LM1uafLY/w-d-xo.html
the same results i got with yolov8 - no speed up.
what was wrong with the last one 🤔
I made a big mistake by not using the output of the function, so Mojo didn’t call it. That’s why is was so crazy fast.
@@underfitted at that time I was really got shocked how it can be that fast. But as everyone will agree we are still wondering because it’s still much faster than python.
@@harshitdubey8673 In Julia the program takes ~0.18 seconds on a 8-year-old Core i7-6700K
I’ve becoming more and more disappointed with Mojo . The resulting language is nothing alike python, which is great for its simplicity and readability. And the overall performance is not really better than rust or other languages …
not true Mojo will be the fastest language among all of them because its optimized for data centers while rust and other languages don't.
I do have to concur, i hope it becomes great but I honestly hoped for mojo to go more pythony instead of adding like seperate function and class anotations. I would have prefered if mojo had just added gradual typing and (similar to how it works in Julia) and then worked from there.
@@the_mastermageStrong typing is your friend. You'll appreciate it if you ever worked on large code bases.
It is a lot more readable and safer than Python because it uses less type inferencing. It's already faster than Rust and in some cases faster than C++.
@@bobweiram6321 that is absolutely correct.