News for hackers. Stuff that matters.
Re:Python can run Mojo now by GeekyBear on Monday June 23, 2025 @03:13PM (#44359041)
I think the big value add of Mojo is that you are no longer writing GPU code that only runs on one particular GPU architecture.

In the same way that LLVM allows CPU code to target more than one CPU architecture, MLIR/Mojo allows GPU code to target multiple vendor's GPUs.

There is some effort required to write the backend for a new GPU architecture, and Lattner has discussed it taking about two months for them to bring up H100 support.

Re:Python can run Mojo now by melodyogonna on Tuesday June 24, 2025 @05:22AM (#44364276)
Indeed, but not only GPUs but accelerators in general. Mojo will be able to target weird esoteric hardware (portably if that is important)