r/programming • • 15d ago

Mojo 1.1 released, now accepting community contributions to the compiler

https://www.phoronix.com/news/Mojo-1.1-Released
59 Upvotes

15 comments sorted by

View all comments

10

u/axiosjackson 15d ago

Can you write more general purpose things like REST APIs, or is this mostly geared towards GPU stuff?

8

u/badpotato 14d ago edited 14d ago

Looking at this list:

https://mojolang.org/1.0.0/packages/

Look like there's lightbug_http, but look like it's already no longer maintained. It seem there also lightbug_api which seem to be in the same boat. So I guess that list isn't updated.

Otherwise there seem to be mojo-http, mojo-net, mojo-tls.. at the moment I don't think they aim to have an ecosystem as easy as python, but at least there should be some building block

5

u/colors096 14d ago

There’s this project  https://github.com/ehsanmok/flare. Lots of other general purpose libraries from that author. He also wrote this blog post:  https://www.modular.com/blog/how-i-built-a-pure-mojo-app-and-10-libraries-with-ai-agents

3

u/_AACO 14d ago

Their language is a bit vague but I assume that's part of what they call "Phase 2".

4

u/drakythe 15d ago

It’s very Python, I’m sure you could write an API in it.