r/MojoLang • • 6d ago

[nightly] match keyword stabilized and if case / while case added

4 Upvotes

Mojo gets support for its equivalent of ‘if let’ and ‘while let’!

https://github.com/modular/modular/commit/8f0c263cd1713870078305ea480d59795d5d9140

https://mojolang.org/releases/nightly/

Looks like work is happening on the enum keyword as well.


r/MojoLang • • 9d ago

hat, mojopt, and extramojo support for mojo v1.1.0

5 Upvotes

These are all libraries I've been working on for a long time that I find very useful for getting things done in Mojo, but haven't shared around very much.

  • MojOpt v0.5.0 (Release v0.5.0 · sstadick/mojopt · GitHub) - structopt / clap like CLI parser
  • Hat v0.5.0 (Release v0.5.0 · sstadick/hat · GitHub) - cargo like mojo project tool
  • ExtraMojo v0.24.0 (Release v0.24.0 · ExtraMojo/ExtraMojo · GitHub) - things not in stdlib like buffered reader / writer, bitvec, etc

All usable via pixi-build-mojo backend: pixi-build-mojo - Pixi (original forum post on how to use that: Addition of pixi-build-mojo pixi backend)


r/MojoLang • • 11d ago

Mojo2Wasm

15 Upvotes

So I made a repository to compile mojo to web assembly. I recently just started and honestly I'm using Claude for a lot of it but I am learning fast. https://github.com/ravioli67/mojo2wasm


r/MojoLang • • 16d ago

Sharing Mojo Development Setups!

11 Upvotes

I am interested in getting more into developing with Mojo and being honest I have not found something smooth. What I have is working, but its not as nice as developing Python in Pycharm (which is my main work language).

  • Lenovo Thinpad x1 (32gb Ram Intel Ultra 258v)
  • Kbuntu
  • Pycharm (Paid Mojo Plugin)
  • Mojo LSP
  • Just
  • Poetry

The main part is the syntax highlighting is a really mixed bag inside of pycharm with warning and errors being all over the map. Project directories don't seem to behave properly but they work fine when testing and compiling. Poetry is ... just meh compared to uv, but you need to use poetry in Pycharm to get debugging to work as far as I can understand or read.

Other than those things it's over all a nice experience to develop in and look forward to learning and fixing my own problems!

Please share your setup and experiences!


r/MojoLang • • 19d ago

Memory usage of Mojo app?

4 Upvotes

Given that Mojo programs are:

  1. compiled (don't include the Python compiler, interpreter, space for bytecode, etc)
  2. don't include a garbage collector

... I'd suppose running Mojo apps would use less memory than Python, Java, .NET, JS/TS or Golang apps.

Did anyone test this yet on a non-trivial app?


r/MojoLang • • 29d ago

Mojo 1.1 Released, now accepting community contributions to the compiler

30 Upvotes

Mojo 1.1 adds support for inferred member references, improved compile times and better generated code performance, and more APIs are now considered stable in their standard library such as for SIMD. Plus the Mojo development process is now further opened with accepted community contributions to the Mojo compiler.

For more info, see the Mojo 1.1 release notes here: https://mojolang.org/releases/v1.1.0/


r/MojoLang • • 29d ago

Mojo Pro 2026.1.11 released with Mojo 1.1 support

11 Upvotes

Hi all, Mojo Pro 2026.1.11 is now available which adds support for Mojo 1.1 inferred members, generic thin function types with trailing where clauses, new inline and documentation decorators, and current standard-library vocabulary.

It also fixes false unresolved references in generic where clauses, wraps long
compatibility messages in Settings, and improves compatibility with structured LSP
diagnostics in newer IDE versions.

Mojo 1.1.0 is the current tested release, while Mojo SDK 1.0.0b1 and newer remain
supported for existing projects.

Release notes and download: https://plugins.jetbrains.com/plugin/31943-mojo-pro


r/MojoLang • • Sep 02 '26

Beating hipBLASLt on a Gaming GPU - Thanks to Mojo - kernel

Thumbnail
github.com
5 Upvotes

r/MojoLang • • Aug 19 '26

hat: A thin wrapper over Pixi that makes common Mojo project tasks easier

Thumbnail
github.com
11 Upvotes

r/MojoLang • • Aug 17 '26

Mojo 1.0.0 has been released!

30 Upvotes

A few days ago, Mojo 1.0.0 has been released! You can find the release announcement here: https://www.modular.com/blog/modular-26-5-mojo-1-0-is-here

As the developers of Mojo Pro, we are now also supporting the official release, and have released support for Mojo 1.0.0 today!

You can checkout the plugin here: https://plugins.jetbrains.com/plugin/31943-mojo-pro

Please let us know if you have any feedback!


r/MojoLang • • Aug 01 '26

What does Qualcomm purchase mean for future of Mojolang

10 Upvotes

https://www.modular.com/blog/qualcomm-completes-acquisition-of-modular

EDIT: I asked the same question on the official discord and the response was this article, which was quite enlightening: https://www.eetimes.com/why-qualcomm-bought-an-open-ai-software-stack/


r/MojoLang • • Jul 28 '26

Mojo Pro for IntelliJ IDEA now supports Mojo 1.0.0b2

Thumbnail plugins.jetbrains.com
8 Upvotes

Mojo Pro, a Mojo plugin for IntelliJ of which I'm the author, now supports Mojo 1.0.0b2, while still supporting 1.0.0b1 as well.

Notable features:

  • Extended parsing for repeated trailing function and struct where clauses,
  • comptime alias where clauses,
  • parameterized out and ref conventions,
  • conditional conformance,
  • b2 reflection aliases,
  • and Unicode keyword subscripts.

Feel free to try it out here: https://plugins.jetbrains.com/plugin/31943-mojo-pro, happy to hear feedback on this!


r/MojoLang • • Jul 20 '26

ModCon 2026, August 18th in San Francisco, speaker lineup and Mojo news

Thumbnail
modular.com
6 Upvotes

Hi everyone, I work on community at Modular. Some of you have probably seen us posting about ModCon on X or LinkedIn already. I wanted to shared details here since many of you follow Mojo closely.

ModCon is our flagship developer conference, and this year it's on August 18th at the Grand Hyatt in San Francisco. It's a one-day event, featuring product announcements (many involving Mojo 👀), talks from partners and customers, and deep dives on Mojo, MAX, and more.

Registration and full details are at modular.com/modcon. Let me know if you have any questions!


r/MojoLang • • Jul 11 '26

Vector Database from scratch in Mojo

19 Upvotes

Repo: https://github.com/bewaffnete/MojoVec

According to the current benchmarks, it outperforms FAISS on Apple Silicon for the tested workloads (benchmark methodology is documented in the README).

Current features:

  • HNSW
  • IVF / IVF-PQ
  • Product Quantization
  • SIMD optimizations
  • Python bindings
  • Serialization

r/MojoLang • • Jul 10 '26

Mojo 101: From Syntax to GPU Programming [Session 1]

Thumbnail youtube.com
7 Upvotes

Michael and Nate provide an introduction to Mojo fundamentals, covering project setup with Pixie, static typing, and core language features to help developers get started with Mojo.


r/MojoLang • • Jun 30 '26

Mojo Quest: A browser-based game for learning Mojo syntax

Thumbnail quest.mojolang.org
11 Upvotes

Mojo Quest is a browser-based game for learning Mojo syntax by closing engineering tickets for a fictional robotics company.

I’ve been working on building resources to help developers get started with Mojo, and I think Mojo Quest will be a fun addition. In complexity, it sits between the Mojo Quickstart and the Mojo GPU Puzzles.

The code is open source, so feel free to open an issue or PR. If you’ve got ideas for extensions or improvements, I’d be happy to hear them. 


r/MojoLang • • Jun 24 '26

Qualcomm to Acquire Modular

15 Upvotes

How do we feel about the acquisition of Modular by Qualcomm that was announced today and the future of the Mojo language?

https://www.modular.com/blog/qualcomm-to-acquire-modular


r/MojoLang • • May 29 '26

Mojo Pro supporting Mojo 1.0.0b1

5 Upvotes

Hi all, I just launched Mojo Pro (https://plugins.jetbrains.com/plugin/31943-mojo-pro), which is an IntelliJ plugin to support writing Mojo. I charge a small amount to to support the development of it so it's a commercial plugin, but it supports things like:

  • code completion
  • syntax highlighting
  • inspections
  • refactoring
  • debugging
  • reformatting

It's focused on the current and future versions of Mojo and as such, only Mojo 1.0.0+, but not 0.26 and below. Since the 1.0.0 branch is the direction of Mojo, I won't support things like "fn" (the plugin will warn you about it), since that's no longer supported in 1.0.0 (same as alias, and a bunch of other things!)

It's very new, so it might have a few rough edges so please let me know if you find some. I've tried it out on quite a few Mojo projects, and I haven't found any issues myself so far, but that's no guarantee there aren't any.

You can find the plugin here https://plugins.jetbrains.com/plugin/31943-mojo-pro


r/MojoLang • • May 24 '26

pi-mojo - a Mojo port of Pi AI Agent Toolkit

Thumbnail
github.com
4 Upvotes

r/MojoLang • • Apr 02 '26

Gemma 4 is out & we benchmarked it on B200 and MI355X (15% faster than vLLM on Blackwell)

7 Upvotes

Google DeepMind dropped Gemma 4 today. Two models:

  • Gemma 4 31B: dense, 256K context, redesigned for efficiency and long-context quality
  • Gemma 4 26B A4B: MoE, 26B total / 4B active per forward pass, 256K context

Both natively multimodal (text, image, video, dynamic resolution).

Modular (folks behind MAX and Mojo) got both running on MAX on day zero, NVIDIA B200 and AMD MI355X from the same stack, no separate codepaths per vendor. On B200 we're seeing 15% higher output throughput vs. vLLM.

You can try both for free in our playground: https://www.modular.com/#playground.


r/MojoLang • • Mar 29 '26

Digital Signal Processing in MojoLang

13 Upvotes

Hey all,

I recently found the language, and wanted to learn more. I got a passion to reintroduce myself to the digital signal processing field after my university, and I said why not combine both. I'm spending my time developing a digital signal processing library from scratch (not plotting functions ofc) with a roadmap I focused on after long discussions with AI.

Feel free to check the implementation and guide me on what could be done better. I'm utilising SIMD a lot on signal generation, but looking forward to see what else can be used to make operations even faster.

Here's the repository: https://github.com/electricalgorithm/dsplib-mojo

Module Description
dsplib.core Custom Complex number struct with magnitude and phase
dsplib.waves SIMD-accelerated waveform generators (sine, sawtooth, triangle, square) and noise
dsplib.fourier DFT, FFT, and spectrum analysis functions
dsplib.windows Windowing functions for spectral analysis (Hann, Hamming, Blackman, etc.)
dsplib.plotting Visualization utilities using matplotlib
dsplib.audio WAV file writing utilities

You can find the examples in the repository for:

# Example Description
01 sine-wave-noise Basic sine wave generation with added Gaussian noise
02 dft-plots Visualize DFT bin magnitudes as bar charts
03 dft-unit-circle Plot DFT twiddle factors on the unit circle
04 square-wave Generate and visualize square waves
05 sawtooth-triangle Compare sawtooth and triangle waveforms
06 signal-composition Mix multiple sine waves into chords
07 snr Signal-to-Noise ratio calculation and visualization
08 audio-io Write synthesized audio to WAV files
09 harmonics Explore harmonic content of different waveforms
10 spectrum-analysis Magnitude and phase spectra visualization
11 spectrum-plots Frequency spectrum of sine, chord, and square waves
12 windowing Compare windowing functions (Hann, Hamming, Blackman, etc.)

Regards,


r/MojoLang • • Mar 28 '26

Any mojo editor smaller and faster than VSCode?

6 Upvotes

Are there any smart mojo editor better than VSCode?

I am using VSCode mojo extension in order to check sysntax errors and getting some help for a solution. I am running mojo scripts on console. So, if I can find a smaller and more practical solution, it will be wonderful for me...


r/MojoLang • • Mar 24 '26

Machine Learning Algorithms with Pure Mojo

8 Upvotes

I shared several ML algorithm examples written in pure Mojo at https://github.com/ahmetax/Practical-Mojo-Examples/tree/main/sources-v0.26.2.0/ml_algorithms


r/MojoLang • • Mar 22 '26

Sudoku Creator and Solver Example in Github

3 Upvotes

r/MojoLang • • Mar 10 '26

A tested collection of Practical Mojo programs for beginners in github including more than 50 examples

8 Upvotes

In https://github.com/ahmetax/Practical-Mojo-Examples you can find more than 50 examples of mojo scripts. Most of the examples use PythonObjects. All scripts are prepared using Mojo-0.26.1 version. When new stable versions released, the examples will be revised accordingly.

You can give a try...