Modular

M

Modular

This server is the home of the MAX and Mojo community! Join us to chat about all things Modular.

Join

questions

community-showcase

mojo and distributed system

Does mojo support developing distributed system? Any references are appreciated.

post_init

There is something like post_init for struct?

Can't return Self

why Self is AnyType. How to return Self
No description

Mojo and Spark

Is there any resource showing how to use spark with mojo? Is it even possible?

Mojo within a GPU enabled Docker container?

just that looking at Mojo Dockerfile on Github couldnt find GPU support

Timeline for C/C++ Interop, FFI

The Mojo roadmap mentions a future FFI between it and C/C++ [1]. Is there an estimated timeframe when this would become available? I'm interested in Mojo's potential for robotics and embedded systems. Interop with C or C++ libraries would accelerate the pace at which it could be adopted in this space. [1]: https://docs.modular.com/mojo/roadmap.html#cc-interop...

OS level package?

Is there any native way to use os level system calls like file opening, closing of files, or clearing the terminal? If not, how soon can we expect to have it 👀...

HOWTO fetch internet resources

Is there a way in mojo that can be used for fetching websites, get and post?

NumPy Stacking error ->error: failed to run the pass manager

from python import Python from time import sleep from python.object import PythonObject fn main() raises:...

Mojo Bootcamp.

Is there any Mojo bootcamp to learn it?

Raise returns a string?

I'm running this code: ```py fn test() raises -> StringRef: raise Error("Test")...

Arch linux?

Is the support of Mojo for arch linux? I couldn't find an AUR package for it so was wondering

Why is overloading a function with different types not possible:

fn sum(num1: Int, num2: Int) -> int: return num1 + num2 fn sum(num1: Float, num2: Float) -> Float: return num1 + num2...

How to implement other classes in mojo

Hey! I want to make a custom class that implements/extends another class. I looked through the mojo docs but nothing was found.

error: mojo: unable to resolve the lldb path

Hello guys I am trying to install mojo but it gives me path error how do i resolve this OS: Windows with wsl2 Ubuntu 20.04...
No description

External call

how external_call work can i call my own function written in c++ or rust by this

Mojo installation got stuck

it gets stuck there and even i tried to modular clean n reinstall still same thing is happening any solutions? im running windows subsystem for linux...
No description

How to use Coroutine

i get some keygen errors what it is
No description

How can I install mojo in codespce on github?

I want to install it in a codespace, but it doesn't work