Re: [rust-dev] rust and cuda

2014-09-06 Thread Madhu Srinivasan
e http://www.cs.indiana.edu/~eholk/papers/hips2013.pdf and > http://blog.theincredibleholk.org/blog/2012/12/05/compiling-rust-for-gpus/ > for prior work. > > On Sat, Sep 6, 2014 at 1:09 PM, Madhu Srinivasan > wrote: > > Hello fellow Rustians, > > > > I am wondering (

[rust-dev] rust and cuda

2014-09-06 Thread Madhu Srinivasan
Hello fellow Rustians, I am wondering (before attempting anything) if anyone has tried creating cuda bindings for rust? Or has discovered any other route to use cuda kernels with rust as the host language ? If not, I am willing to work in this direction, but would need some guidance from the com

Re: [rust-dev] Using libgreen/libnative

2013-12-31 Thread Madhu Srinivasan
2/src/libstd/comm/mod.rs:728 However, rustc does it just fine ... > rustc -o bin/test src/test/main.rs > Wondering if there is a pending issue with rustpkg ? I am happy (and prefer) to use rustc anyways! Great work !! Dr. Madhu Srinivasan > Date: Sat, 28 Dec 2013 17:15:54 -0800

Re: [rust-dev] rustpkg behavior

2013-10-03 Thread Madhu Srinivasan
Thanks Tim! I appreciate your response. I'll try out your suggestions. Madhu > Date: Mon, 30 Sep 2013 18:11:36 -0700 > Subject: Re: [rust-dev] rustpkg behavior > From: catamorph...@gmail.com > To: smadhuea...@outlook.com > CC: rust-dev@mozilla.org > > On Thu, Sep

[rust-dev] rustpkg behavior

2013-09-19 Thread Madhu Srinivasan
hi fellow rusters, I understand that rustpkg is under heavy development and not complete. Having said that, I'd like to know if the following error (w.r.t. rustpkg finding external crates and linking correctly with them) is within it's normal operating parameters :). The rust code in question:

Re: [rust-dev] Suggestions for small Rust programs for use in a tutorial?

2013-06-09 Thread Madhu Srinivasan
Guys, I'm not sure if this is what you are looking for, but I have been writing small (self-contained) examples in Rust - mostly to help me understand the language concepts. Still in very early stages, but I will be contributing more over the next few weeks. https://github.com/smadhueagle/rustli

Re: [rust-dev] Mutability and borrowing

2013-06-03 Thread Madhu Srinivasan
Going by the suggested solution of using Atomic Reference Counters (std::arc) for sharing immutable data across different tasks, I would presume that the most generic solution would be to use the arc module. You can see an example of this in action here : https://github.com/smadhueagle/rustling