5

I want to execute intensive computations on client side in chrome with PNaCl (and avoid C++)...Since Rust use llvm as a backend (which is the PNaCl input), it seems an interesting option.

But Rust currently uses a fork of llvm, and the only example of rust code for PNaCl I found is this hello world, and it uses a fork of Rust.

This is a great initiative (I'm trying to make it work), but I wonder if there is any plan to support PNaCl on a smoother/more reliable way (ie: with the standard Rust tool-chain)

Thanks for your help, :-)

nicoxx
  • 111
  • 2

1 Answers1

1

AFAIK, there are currently no efforts to make Rust work with PNaCl. There are efforts however to eventually remove the necessity of an LLVM fork for Rust. This should make PNaCl support easier when it happens.

AndrewBrinker
  • 71
  • 1
  • 7
  • Any pointers to the details on the reason why Rust needs an LLVM fork presently? – Christian Hudon Jan 06 '15 at 01:27
  • 1
    I'm not sure the exact reasons, but you can [look at the modifications they've made](https://github.com/rust-lang/rust/tree/master/src/rustllvm) that have yet to be accepted upstream on the rustc GitHub page. – AndrewBrinker Jan 07 '15 at 02:21