Sure, but that's not the interesting bit. Penumbra compiles a subset of Clojure to GLSL, so you don't have to see that silly language so much. This is done with macros in Clojure, but I'm not sure if Rust's macros are as expressive. At the very least it should be doable as a compiler plugin.
On 19 October 2012 09:12, John Mija <jon...@proinbox.com> wrote: > > El 19/10/12 09:05, Lucian Branescu escribió: > >> I think it might be even more interesting to be able to compile a >> subset of Rust to GLSL, similar to >> https://github.com/ztellman/penumbra/wiki/Shaders-and-GPGPU > > Penumbra is an wrapper for OpenGL in Clojure; and whatever wrapper to C/C++ > code could be created in Rust too. > > _______________________________________________ > Rust-dev mailing list > Rust-dev@mozilla.org > https://mail.mozilla.org/listinfo/rust-dev _______________________________________________ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev