Show HN: Flux, A Python-like language in Rust to solve ML orchestration overhead

Posted by hpscript 8 hours ago

Counter5Comment3OpenOriginal

Comments

Comment by hpscript 8 hours ago

Hi HN, I'm the creator of Flux.

I love Python's productivity for AI/ML, but I've often been frustrated by the "Python tax" — that overhead you pay when orchestrating many small operations or running tight loops outside of C++ kernels.

I started Flux to see if we could have a language that feels like Python (indentation-based, clean) but lives natively in the Rust ecosystem. Unlike Mojo, which is its own massive ecosystem, Flux aims to be a lean, Rust-powered alternative that might eventually allow seamless blending of high-level ML logic with Rust's safety.

It's very early (experimental!), but it already handles basic tensor ops and Python interop. I'd love to get feedback on the syntax and whether the "native orchestration" approach resonates with you.

Comment by dhruv3006 1 hour ago

This is a interesting problem to solve!Liked your approach!

Comment by doanbactam 7 hours ago

I'll try it sometime soon if possible. Wishing you a wonderful journey!