3 ms·
Writing this in Mojo would have been so much easier
by xmorse 9mo ago
Writing this in Mojo would have been so much easier
- 3abiton 9mo agoIt'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.
- ronsor 9mo agoIsn'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.
- 0x696C6961 9mo agoYeah, 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.
- 3abiton 9mo agoYes, 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.
- pjmlp 9mo agoGiven Swift for Tensorflow, lets see how this one goes.
- boredatoms 9mo agoI feel like its in AMD/Intel/G’s interest to pile a load of effort into (an open source) mojo
- bigyabai 9mo agoUse-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.
- xmorse 9mo agoKernels 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.
- bigyabai 9mo agoI don't think Nvidia would acquire Mojo when the Triton compiler is open source, optimized for Nvidia hardware and considered a industry standard.
- saagarjha 9mo agoNobody is writing MLIR by hand, what are you on about? There are so many MLIR frontends
- pjmlp 9mo agoNVidia 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.
- itsthecourier 9mo agowhat about a fourty feet pole? would it be viable?
- 9mo ago
- pjmlp 9mo agoIt 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.
- bigyabai 9mo agoI'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.
- pjmlp 9mo agoI 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?
- saagarjha 9mo agoApproximately nobody writing high performance code for AI training is using Windows. Why should they target it?
- pjmlp 9mo agoAs desktop, and sometimes that is the only thing available. When is the Year of NPUs on Linux?
- saagarjha 9mo agoThis targets Blackwell GPUs so I’m not sure what you are talking about
- pjmlp 9mo agoThe 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-rtx-50-laptops/ https://www.pcspecialist.de/kundenspezifische-laptops/nvidia... Which as usual, kind of work but not really, in GNU/Linux.
- llmslave2 9mo agoI 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.
- ipsum2 9mo agoMojo 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.
- almostgotcaught 9mo agoit's all over this thread (and every single other hn thread about GPU/ML compilers) - people quoting random buzzword/clickbait takes.