Prabhu
Prabhu
MModular
Created by Hasan Yousef on 9/25/2023 in #questions
HOWTO fetch internet resources
This is because you are shadowing the stdlib module 'python'. Don't create a "python.mojo" file as that will confuse mojo (or Python).
14 replies
MModular
Created by Hasan Yousef on 9/28/2023 in #questions
Parallelism and multithreading
There is some mention of coroutines here: https://docs.modular.com/mojo/changelog.html#january-2023 as well as module documentation here: https://docs.modular.com/mojo/stdlib/builtin/coroutine.html
3 replies
MModular
Created by Hasan Yousef on 9/28/2023 in #questions
Parallelism and multithreading
Almost all the examples in the documentation (Mandelbrot set, matmul, ray tracing) feature parallelism which internally use multi-threading (via coroutines). The examples are all from the point of view of performing computation in parallel. Are you asking about the ability to create and manage your own pool of threads?
3 replies