Skip to content

Comment on GPU Offload in Rust: Portable, Safe, and Fastparent

Comments

Seems to work out well for Mojo, so I'd guess it's more an issue with C++.

Well mojo handles it by introducing an additional step of lowering code to MLIR as an intermediate representation. Something that can be done with C++ as well

In fact, clang is in the process of adding an MLIR layer as well, ClangIR.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.