On Oct 7, 2011, at 6:31 PM, Jim Peters wrote: > Are you thinking of syntax extensions to tell the compiler: "optimise > this in a certain way"? I can see the idea: instead of letting the > compiler recognise certain task-usage patterns, explicitly specify > that that pattern is being used, and let the compiler complain if the > code breaks that pattern. That does make sense as well.
I meant syntax extension in terms of something like macros. Rust already has some macro support and a way of adding syntax extensions to the compiler frontend (this is how #fmt is implemented). Doing something like this for data parallelism seems like the right way to do it, as I'm not sure fine-grained data parallel patterns will end up being the best fit for the Rust task system. -Eric _______________________________________________ Rust-dev mailing list [email protected] https://mail.mozilla.org/listinfo/rust-dev
