News for hackers. Stuff that matters.
Re:LLVM OpenMP Support by prudhvis on Friday May 22, 2015 @03:32PM (#9590480)
This is great news. Hope to use this soon from Rust.
Re:LLVM OpenMP Support by elektronjunge on Friday May 22, 2015 @03:50PM (#9590568)
For what? Most of openmp is useful because you can slap a pre-processor directive on a for loop and make it parallel. Rust has the ability to provide ergonomic fork-join parallelism at the library level. Right now collections that can iterate provide a .iter() method that can provide an iterator. I see no reason that equivalent functionality couldn't be provided by something like a .par_iter() or similar.
Re:LLVM OpenMP Support by moonchrome on Friday May 22, 2015 @09:59PM (#9591709)
>Rust has the ability to provide ergonomic fork-join parallelism at the library level

I'm just guessing because I have only vague familiarity with this topic - but implementing that and the rest of OpenMP constructs efficiently does not sound trivial.

pragmas are just a way to consume OpenMP in C++, that part could be done trough library - but leveraging OpenMP implementation, stuff like schedulers, etc. could be useful.

Re:LLVM OpenMP Support by netheril96 on Friday May 22, 2015 @08:52PM (#9591585)
SIMD?