Hacker Newsnew | past | comments | ask | show | jobs | submit | rubymamis's commentslogin

Mojo is a language with Pythonic syntax that compiles to fast machine code built by the creator of Swift: https://www.modular.com/open-source/mojo

Hold up... did I miss something, is Mojo open sourced now?

Edit: No it is still not open source. There are still same promises of open sourcing eventually, but there is no source despite the URL and the website claiming it's an open language. What's "open" here is "MAX AI kernels", not Mojo. They refer to this as "750k lines of open source code" https://github.com/modular/modular/tree/main/max/kernels

This feels icky to me.


The compiler will be open-sourced in a few months.

There is a question of what benefit would it bring even if its open sourced?

Static python can transpile to mojo. I haven't seen an argument on what concepts can only be expressed in mojo and not static python?

Borrow checker? For sure. But I'm not convinced most people need it.

Mojo therefore is a great intermediate programming language to transpile to. Same level of abstraction as golang and rust.


Python has a performance problem. Most people may not need it, but many people do. Languages like Rust and Go are heavily adopted by Python programmers either trying to understand low-level concepts or looking for something more performant.

And this is before we talk about the real selling point, which is enabling portable heterogenous compute.


This is why transpilers exist.

py2many can compile static python to mojo, apart from rust and golang.

Is it comprehensive? No. But it's deterministic. In the age of LLMs, with sufficient GPU you can either:

  * Get the LLM to enhance the transpiler to cover more of the language/stdlib
  * Accept the non-determinism for the hard cases
The way mojo solves it is by stuffing two languages into one. There are two ways to write a function for example.

I don't think the cost imposed by a transpiler is worse. In fact, it gets better over time. As the transpiler improves, you stop thinking about the generated code.


At this point, it might be moot. Too many people are assuming it's still a closed-source thing and will dismiss it.

Due to the closed source nature, every mojo announcement I see I think "whatever, next"

If the actual intent is to open-source, just do it, dump out whatever you have into a repo, call it 'beta'


It does matter. It already has a pretty active community and thousands of people who follow the development closely, however, most won't commit until the entire language is fully opened... including me.

Valuable technologies are not so easily dismissed


I think they should say that on their /opensource/mojo website if that's the plan. Rather, they are trying to gesture at "750k lines of open source code", when that code is only meant to be fed into their closed source MAX engine. That's a sleight of hand, bait and switch misdirection, and that's what feels icky to me.

Sounds good to me! If you ever need some architectural help I'd be happy to.

I have a lot of experience with Qt and QML, I've created a block editor[1] and an LLM chat client[2] and many other projects.

[1] https://rubymamistvalove.com/block-editor

[2] https://www.get-vox.com/


Thanks, I'm using Qt Widgets to make this though.

And I made a website for it shortly after I made this post:

https://kind.ihavea.quest


Doesn't OpenCode supports local models?

You can, but the quality sucks.

Local LLMs don't make sense for most people compared to "cloud" services, even more so for coding.


I wonder if the Snapdragon X Elite already caught up with the Apple's M series in that regard - does anybody know?

I'm glad Chris Lattner moved on and founded Mojo. It's such a cool language with ton of potential.

I was excited about it when it first came out, but haven't heard anything about it since.

Can someone list what are some cool/novel BeOS features that other OSes didn’t have at the time and maybe still don’t have?

with BeOS you have instant indexed search, with no index server, and with atomic instant updates (e.g. the same moment you modify a file, the search results update) this is yet to be seen, and we are planning to implement it on Vitruvian

This is wrong. There's a misconception that you can't statically link your app when using the open-source LGPL version of Qt. From my reading of the LGPL license this doesn't appear to be the case[1]. The LGPL allows you to statically link your app as long as you provide the object files and allow users to relink your app with a different version of Qt.

I've observed many people spreading this misinformation about only being able to dynamically link with the LGPL version of Qt. Please stop this.

[1] https://www.gnu.org/licenses/gpl-faq.html#LGPLStaticVsDynami...


Yes, that is true, but in practice nobody has ever done that. And the material complexity of offering that mode is higher than just dynamically linking the library.

Also, modern compilers make this method much harder to use. It is much harder to stably relink object files like that than to just use the normal dynamic link method.


I guess they rely on many people not toggling privacy-mode on?


Do you know what Qwen model Composer 1.5 used?


As a Qt C++ and QML developer myself[1], Opus 4.6 thinking is much better than any other model I've tested (Codex 5.3/GPT 5.4/Gemini 3.1 Pro).

[1] https://rubymamistvalove.com/block-editor


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: