News for hackers. Stuff that matters.
Re:Mojo 1.0 Beta by pjmlp on Friday May 08, 2026 @04:57AM (#48060509)
So basically Chapel, which is actually being used in HPC.
Re:Mojo 1.0 Beta by Certhas on Friday May 08, 2026 @08:38AM (#48062195)
I don't know Chapel in detail, I was more thinking Hylo. I don't think Chapel has a clear value/reference semantics or ownership/lifetime story? Am I wrong here?

The Mojo docs include two sections dedicated to these topics:

https://mojolang.org/docs/manual/values/

https://mojolang.org/docs/manual/lifecycle/

The metaprogramming story seems to take inspiration from Zig, but the way comptime, parameters and ownership blend in Mojo seems relatively novel to me (as a spectator/layman):

https://mojolang.org/docs/manual/metaprogramming/

I was sort of paying attention to all these ideas and concepts two-three years ago from the sidelines (partially with the idea to learn how Julia could potentially evolve) but it's far from my area of expertise, I might well be getting stuff wrong.

Re:Mojo 1.0 Beta by pjmlp on Friday May 08, 2026 @09:21AM (#48062739)
You make use of 'owned', 'shared', 'unmanaged', 'borrowed'.

https://chapel-lang.org/docs/language/spec/classes.html#clas...

Re:Mojo 1.0 Beta by Certhas on Friday May 08, 2026 @09:30AM (#48062862)
I see, seems like the design is not complete and a work in progress (which is the same for Mojos Origins concept I think):

"The details of lifetime checking are not yet finalized or specified. Additional syntax to specify the lifetimes of function returns will probably be needed."

I think Rust proved that lifetimes, ownership and borrow checking can be useful for a mainstream language. The discussions in the Mojo context revolve on how to improve the ergonomics of these versus Rust.

Re:Mojo 1.0 Beta by pjmlp on Friday May 08, 2026 @10:21AM (#48063665)
Contrary to Mojo, plenty of people are using it in HPC, and is open source.

https://hpsf.io/blog/2026/hpsf-project-communities-to-gather...

https://developer.hpe.com/platform/chapel/home

See "Projects Powered by Chapel".

Re:Mojo 1.0 Beta by Certhas on Friday May 08, 2026 @10:42AM (#48063960)
So? What point are you making? A different language with different design philosophy, has success in a different niche than Mojo is targeting?
Re:Mojo 1.0 Beta by pjmlp on Friday May 08, 2026 @11:22AM (#48064475)
One is used in production already by key laboratories in HPC research, the other wants to be and is far away from being 1.0.

Chapel current version is 2.8.0.

Re:Mojo 1.0 Beta by MohamedMabrouk on Friday May 08, 2026 @12:02PM (#48065021)
I don't understand this framing, so? Cpp, Julia are more widely adopted, used in HPC. it does not mean that people shouldn't start, learn new languages.
Re:Mojo 1.0 Beta by pjmlp on Friday May 08, 2026 @12:49PM (#48065662)
In the LLM age, maybe the focus should be elsewhere instead of syntax.
Re:Mojo 1.0 Beta by MohamedMabrouk on Friday May 08, 2026 @01:42PM (#48066365)
is that so? People are still reading their code to understand it and ask (or make modifications). even in the (LLM age) language design, readability is still as relevant as before.

I don't see the superficial comparisons between why this new Y when we have X are not really helpful. Languages and system got adopted not for their stated goal only, but for the underlying details capabilities, good design which translates to better user experience and ecosystem growth.

Re:Mojo 1.0 Beta by melodyogonna on Friday May 08, 2026 @12:00PM (#48065004)
Mojo isn't that far away from 1.0. Some point this year is the target
Re:Mojo 1.0 Beta by Certhas on Saturday May 09, 2026 @03:27AM (#48072744)
I don't think Mojo is targeting HPC at all.
Re:Mojo 1.0 Beta by zzzoom on Friday May 08, 2026 @06:57PM (#48069785)
Is it? Spack has only one package that depends on chapel.