Hacker News new | ask | show | jobs
by xmorse 179 days ago
Writing this in Mojo would have been so much easier
5 comments

It's barely gaining adoption though. The lack of buzz is a chicken and egg issue for Mojo. I fiddled shortly with it (mainly to get it working some of my pythong scripts), and it was suprisingly easy. It'll shoot up one day for sure if Latner doesn't give up early on it.
Isn't the compiler still closed source? I and many other ML devs have no interest in a closed-source compiler. We have enough proprietary things from NVIDIA.
Yeah, the mojo pitch is so good, but I don't think anyone has an appetite for the potential fuckery that comes with a closed source platform.
Yes, but Latner said multiple time it's closed until it matures (he apparently did this with llvm and swift too). So not unusal. His open source target is end of 2026. In all fairness, I have 0 doubts that he would deliver.
Given Swift for Tensorflow, lets see how this one goes.
That one did get open sourced but nobody ended up wanting to use it
Who would anyone want to pair a subpar language with a subpar ML framework?
That is the thing, what lessons were learnt from it, and how will Mojo tackle them.
I feel like its in AMD/Intel/G’s interest to pile a load of effort into (an open source) mojo
Mojo is not open source and would not get close to the performance of cuTile.

I'm tired of people shilling things they don't understand.

it's all over this thread (and every single other hn thread about GPU/ML compilers) - people quoting random buzzword/clickbait takes.
Use-cases like this are why Mojo isn't used in production, ever. What does Nvidia gain from switching to a proprietary frontend for a compiler backend they're already using? It's a legal headache.

Second-rate libraries like OpenCL had industry buy-in because they were open. They went through standards committees and cooperated with the rest of the industry (even Nvidia) to hear-out everyone's needs. Lattner gave up on appealing to that crowd the moment he told Khronos to pound sand. Nobody should be wondering why Apple or Nvidia won't touch Mojo with a thirty-nine and a half foot pole.

Kernels now written in Mojo were all in hand written in MLIR like in this repo. They made a full language because that's not scalable, a sane language is totally worth it. Nvidia will probably end up buying them in a few years.
NVidia is perfectly fine with C++ and Python JIT.

CUDA Tile was exactly designed to give parity to Python in writing CUDA kernels, acknowledging the relevance of Python, while offering a path researchers don't need to mess with C++.

It was announced at this years GTC.

NVidia has no reason to use Mojo.

I don't think Nvidia would acquire Mojo when the Triton compiler is open source, optimized for Nvidia hardware and considered a industry standard.
Nobody is writing MLIR by hand, what are you on about? There are so many MLIR frontends
how mojo with max optimize the process?
what about a fourty feet pole? would it be viable?
I really want Mojo to take off. Maybe in a few years. The lack of an stdlib holds it back more than they think, and since their focus is narrow atm it's not useful for the vast majority of work.
It would help if they were not so much macOS and Linux focused.

Julia, Python GPU JITs work great on Windows, and many people only get Windows systems as default at work.

Approximately nobody writing high performance code for AI training is using Windows. Why should they target it?
As desktop, and sometimes that is the only thing available.

When is the Year of NPUs on Linux?

This targets Blackwell GPUs so I’m not sure what you are talking about
The same, hardware available for Windows users, as work devices at several companies, used by researchers that work at said companies,

https://www.pcspecialist.de/kundenspezifische-laptops/nvidia...

Which as usual, kind of work but not really, in GNU/Linux.

I've commissioned a board of MENSA members to devise a workaround for this issue; they've identified two potential solutions.

1) Install Linux

2) Summon Chris Lattner to play you a sad song on the world's smallest violin in honor of the Windows devs that refuse to install WSL.

I go with customers keep using CUDA with Python and Julia, ignore Chris Latter's company exists, while Mojo repeats Swift for Tensorflow history.

What about that outcome?