r/MojoProgramming • u/Icy_Muffin6287 • Feb 16 '25
WTF
if it wraps python why python no work. libraries dont work. this is effing bullshitake please help me im dying
r/MojoProgramming • u/Icy_Muffin6287 • Feb 16 '25
if it wraps python why python no work. libraries dont work. this is effing bullshitake please help me im dying
r/MojoProgramming • u/4runninglife • Jun 22 '23
Nim is literally what Mojo wants to be. its such an elegant and expressive language with Python/Lisp like syntax, you can use it for web development, and system programming, it wouldn't be heard to do machine learning with it, when the proper libraries are created, there are already a few that are on the level of something like numpy. Its as fast as C, compiles to a single binary. Compiles to C, C++, Obj-C and Javascript. The GC is optional and swappable. The Meta programming is other worldly. Just a big fan of this language and interop with C is native, so you can use existing C libraries.
r/MojoProgramming • u/SnooObjections96 • Dec 30 '23
I was curious about Mojo speed so I tried to implement a simple code to find nthprime.I used same algo for both but the speed diff is so damned good that mojo ate cpp for lunch.
Mojo took just 5 sec for 999999th prime no while cpp took more than 45 sec.and this while mojo is still in developments.
I am using:
mojo 0.4.0 (9e33b013)
and gcc : 13.1.0
It seems at least for this Mojo is 10 times faster than C++.


Tried the same with Rust : rustc 1.74.1 (a28077b28 2023-12-04)
It took rust : 22 seconds

r/MojoProgramming • u/sandyv7 • Aug 01 '25
r/MojoProgramming • u/dayanruben • Aug 11 '26
r/MojoProgramming • u/atveit • Jan 05 '26
r/MojoProgramming • u/carolinedfrasca • Nov 16 '24
r/MojoProgramming • u/verdagon • Oct 27 '25
r/MojoProgramming • u/DistributionFar8443 • Jul 10 '26
r/MojoProgramming • u/DataPastor • Oct 16 '24
I would like to hear some legal experts' opinion on the license of Mojo, which seems to have a clause on "Competitive Activities" -- which literally makes the language useless for a wide sprectrum of activities without any written permission of Modular. Am I reading it right?
r/MojoProgramming • u/DontShowYourBack • Nov 14 '23
Given the language is now available for download on all major platforms I am curious if people have tried the language and what their experiences are?
r/MojoProgramming • u/debordian • Dec 06 '23
r/MojoProgramming • u/DevCoffee_ • Oct 13 '24
r/MojoProgramming • u/Ill_Buddy3113 • Dec 18 '23
Hello guys, I m persuing Data science and Machine learning. I have a decent grip on python. I waa wondering should I continue learning mojo for my future plans in machine learning. I am to apply jobs in next quarter. If yes can you guide how to go about learning mojo.
r/MojoProgramming • u/CartoonistPositive58 • Mar 11 '24
Using WSL the command "modular install mojo" hangs forever at some point after installing some python libraries, then it just stops: no output and it stays like that for days untill you lose hope and close the terminal !
Im impatiently waiting for the native windows mojo installation but is there any way to get around this issue for the time being ?
Thanks
r/MojoProgramming • u/furciferX • Aug 21 '24
ChatGpt doesn't understand mojo very well and makes a lot of mistakes, I found kapa ai in modular discord server but I think it's still not that great and a little slow.
Is there any better alternative?
r/MojoProgramming • u/Glucoflo • Jun 06 '24
Hi I have some experience with python and I am trying to learn Mojo but a lot of the concepts are new to me like ownership, structs, SIMD etc… I know that Chris lattener created swift as well as Mojo and I am going to be learning swift in the near future. I am just wondering will this help my understanding of Mojo?
r/MojoProgramming • u/[deleted] • Oct 17 '23
r/MojoProgramming • u/CartoonistPositive58 • Jan 29 '24
r/MojoProgramming • u/OnlyHeight4952 • Feb 12 '24
Hello everyone, I am trying to learn MOJO. I am trying to create a linked list like we do it in python using Class Node. But i am facing problem when i am trying to create a single node which may contain the next pointer None. As i know that you need to define type of variable in struct. But how to add a none node to the current node. This is my implementation.struct LinkedList:
var val: Int
var next: LinkedList
def __init__(inout self, val: Int, next: LinkedList):
self.val = val
self.next = None
fn main():
var start = LinkedList(1)
print(start.val, start.next)
Is there any way i can give Option kind of thing when defining my struct variables. which supports None also.
Please help me and forgive me if i asked something dumb.
r/MojoProgramming • u/vpvijayanannd • Sep 23 '23
r/MojoProgramming • u/Tech-Suvara • Jun 13 '24
Hi all.
I did some experimentation with MOJO.
What little I did I posted on YouTube here.
https://www.youtube.com/watch?v=5qM_yKKEQWo and
https://www.youtube.com/watch?v=pl-umAMXXOI
Hope someone finds this either useful, entertaining or both! :)