Mojo Language Server (NeoVim)
Does anyone know how to add the mojo-language-server to nvim (NVChad)?
I have the mojo.lua in my
.config/nvim/Lua/configs/
directory but I don't know how to lazy load it....This channel is now read-only – please post in the forum instead
This channel is now read-only. Please post questions that you would normally post in this channel – requests for troubleshooting help, questions that invite in-depth discussions, and requests that require a response from the Modular team – in the Modular forum instead.
Serialize / deserialize (to JSON)
Hi, I wonder if it is possible to serialize / deserialize Mojo objects to / from JSON, either through metaprogramming, or through some Python bindings.
Thanks....
Use async Python library?
Hi, I wonder if it is possible to use an async Python library like Surrealdb : https://surrealdb.com/docs/sdk/python/setup
Thanks....
Admin, please help
Tried to leave the server then rejoin. Thought maybe there was a bug. Why is this step mandatory to join server? I don't have a question to ask. I just want to chat about mojo
Why is this step mandatory?
Title. You can't do anything on here until you post here. It was doing the same exact thing to me earlier, only except under the community tab. Why do you have to post here before you can chat in the mojo channel?
How To Get Max On Arch Linux
I was trying to figure out how to get Max working on Arch Linux and ran into a few problems such as, "no REPL found for mojo", "couldn't find liblldb on PATH", etc. How do I get it to work?
Quick question on available data structures in Mojo
Hi I just wanted to know what data structures are available in libraries for Mojo?
Parallelize in Mandelbrot example do not use all physical cores of an Intel Core i9 CPU
Parallelize don't use all 24 physical cores of a "13th Gen Intel® Core™ i9-13900KF × 32" processor.
Instead only the 8 "performance" cores are actually used.
Achieving only a speedup just below 8X on a processor with 24 physical cores.
It seem that parallelize algorithm implementation for this processor use performance cores instead of physical cores for sizing the thread pool....

Problems while passing function pointers to FFI
Hi. I am tyring to create library bindings of FLTK, in mojo. However, mojo’s compiler throws a segmentation fault when I try to pass an UnsafePointer of a function, to the ffi:
```rust
from mjui._app import Application, FLTK_WIDGET_POINTER
from mjui.const import *
from mjui.const import __dll...
Mojo/MAX vs OpenAI Triton
For anyone who has used both, how do these two tools compare in terms of performance and ease of use?
Asynchronous functions: how to use in mono?
I saw the devblogs saying that mojo currently lacks wrappers for async fn awating, however it supports the coroutines themselves. If it is possible, how does one write a function that, say, prints whichever result is faster from functions a() and b()?
I am trying to write a Thread manager for my project that heavily interfaces with the filesystem, which means a lot of recursion, shared cache, etc...
serve: command not found
Tried to run the command, any ideas on the issue:
❯ magic run serve --huggingface-repo-id deepseek-ai/DeepSeek-R1
serve: command not found...
List setItem vs append crashing?
Below I have two simple Matrix structs. They are the exact same except the lines called out by
# <-
comments. Why is the SetMatrix
causing a crash while AppendMatrix
is fine?
(Run on https://docs.modular.com/mojo/playground for a quick repro)
```...Help with meido's modular English patch for a game
Hello! Can someone help me with "Meido's modular toolbox" if anyone knows it?
Installing via Magic script
I am following https://docs.modular.com/mojo/manual/get-started/ and using a
devcontainer
in the process. (See https://github.com/jake-danton/mojo_test for reference).
I got it mostly working, but had some additional dependencies to install (build-essential
, etc) to go from a clean Ubuntu setup (see repro for more info). So there may need to be either prerequisites added to the docs or an update to the script.
The two big things I haven't got working are:...Compilation with constant lookup table
In my project I need to have constant lookup table. I wanted to implement it with:
alias LOOKUP = InlineArray[UInt64, 104960](
...here all elements that I want for my table...
)
...
Any plans to release mojo vscode extension to openvsx?
I am using windsurf and cursor IDEs but the mojo extension is only in the vscode marketplace, it would be helpful for sure to have it in openvsx marketplace as well!
If it helps for the maintainers heres a useful guide to publish in openvsx https://github.com/eclipse/openvsx/wiki/Publishing-Extensions...
Conditional Conformance Based on Origin
I'm trying to get a better understanding of origins and mutability. I'd like to try and write a function that have a mutable origin. For example, I'd like something like:
```mojo
from memory.pointer import Pointer
...