Re: [rust-dev] Rustaceans - Rust User Groups

2015-08-11 Thread Manish Goregaokar
users.rust-lang.org is usually good enough for this. You can also email rust-commun...@googlegroups.com if you want to contact the community team (we may set up a separate forum for event organizers c) Thanks, -Manish Goregaokar On Tue, Aug 11, 2015 at 7:52 PM, Douglas Campos q...@qmx.me wrote

Re: [rust-dev] rust-dev will be shut down soon

2015-05-20 Thread Manish Goregaokar
Should be simple as an IFTT recipe.. -Manish Goregaokar On Wed, May 20, 2015 at 1:35 PM, techabc tech...@gmail.com wrote: Is there a way(i.e. a robot) to mirror the contents in read only mode of reddit/r/rust to this mailling lists? 2015-01-24 4:39 GMT+08:00 Brian Anderson bander

Re: [rust-dev] rust-dev will be shut down soon

2015-01-23 Thread Manish Goregaokar
internals means compiler internals and all usually. (cf #rust-internals on IRC, the internals tag on Discourse, etc) AFAICT it will still be completely open for all to comment on -Manish Goregaokar On Fri, Jan 23, 2015 at 12:03 PM, Tomi Pieviläinen tomi.pievilai...@iki.fi wrote: My last

Re: [rust-dev] About const

2015-01-04 Thread Manish Goregaokar
to use generics. -Manish Goregaokar On Sun, Jan 4, 2015 at 3:07 PM, Pim Schellart p.schell...@gmail.com wrote: Dear Rust Developers, here is another ignorant question so feel free to ignore. When reading the guide I came across std::f64::consts::PI” for pi. Now I was wondering why

Re: [rust-dev] Overflow when benchmarking

2014-11-27 Thread Manish Goregaokar
arrays in systems programming. Another is the alloca-like behavior of dynamically sized stack-based arrays (just learned about this recently). You always want to be clear of what the compiler is doing. Such optimizations can easily be implemented as a library :) -Manish Goregaokar On Thu, Nov 27

Re: [rust-dev] Programmaticaly accessing compiler warnings

2014-11-02 Thread Manish Goregaokar
I'm interested, though rather busy right now (free after the second week of November) -Manish Goregaokar On Mon, Nov 3, 2014 at 1:56 AM, Nick Cameron li...@ncameron.org wrote: There currently isn't, but I'd like to add API for this as part of the rustc::middle::save module. If anyone

Re: [rust-dev] Programmaticaly accessing compiler warnings

2014-11-01 Thread Manish Goregaokar
IIRC there aren't, we came across this while trying to fix a Cargo bug. Structured logging would be nice to have, though. -Manish Goregaokar On Sun, Nov 2, 2014 at 3:38 AM, Vladimir Pouzanov farcal...@gmail.com wrote: Hi all. Is there any way to access compiler warnings and errors other

Re: [rust-dev] Rust Research Project Query

2014-10-08 Thread Manish Goregaokar
Servo has a bunch of student projects https://github.com/servo/servo/wiki/Student-projects that you might be interested in. -Manish Goregaokar On Thu, Oct 9, 2014 at 6:50 AM, Corey Richardson co...@octayn.net wrote: LLVM already has support for instrumenting code to generate gcov data, I

Re: [rust-dev] On the use of unsafe

2014-09-22 Thread Manish Goregaokar
? On Mon, Sep 22, 2014 at 4:50 AM, Manish Goregaokar manishsm...@gmail.com wrote: That's not how Rust defines `unsafe`. It's open to misuse, and the compiler will happily point out that it's not being used correctly via the unnecessary unsafe lint. If that's the case, do you think there's some

Re: [rust-dev] On the use of unsafe

2014-09-22 Thread Manish Goregaokar
` is just for memory safety, in which case it would be nice to have a wider range of `unsafe` attributes (or something) which allow us to gate methods that are prone to SQL injection (etc etc). -Manish Goregaokar On Tue, Sep 23, 2014 at 3:01 AM, Tony Arcieri basc...@gmail.com wrote: On Mon, Sep 22

Re: [rust-dev] On the use of unsafe

2014-09-22 Thread Manish Goregaokar
it. -Manish Goregaokar On Tue, Sep 23, 2014 at 5:01 AM, Daniel Micay danielmi...@gmail.com wrote: On 22/09/14 06:45 PM, Manish Goregaokar wrote: As Chris mentioned, it's not about using the type system to create safety. We're assuming that exists, the idea is to gate unchecked access

Re: [rust-dev] On the use of unsafe

2014-09-21 Thread Manish Goregaokar
checks, which open up the gate for many more possible safety guarantees (instead of relying on separate static analysis tools), and not just memory safety. Perhaps we should start recognizing and leveraging that ability more :) -Manish Goregaokar ___ Rust

[rust-dev] Cleaner and more visible llvm options?

2014-08-27 Thread Manish Goregaokar
A few days ago I was setting up a clean Rust build, and I wanted to avoid the llvm build. For some reason, the apt-get install from the Travis file didn't work -- there were gpg issues. Eventually I ended up using Servo's llvm snapshot. Which was fine with me. However, the only reason I knew

Re: [rust-dev] Dynamic format template

2014-08-26 Thread Manish Goregaokar
Why not create a trait Localizer , and make BoxLocalizer fmt!able? -Manish Goregaokar On Mon, Aug 25, 2014 at 9:59 PM, Matthieu Monrocq matthieu.monr...@gmail.com wrote: While not possible today, there is actually nothing preventing you to create a safe alternative (or even improving format

Re: [rust-dev] Qt5 Rust bindings and general C++ to Rust bindings feedback

2014-06-06 Thread Manish Goregaokar
be managed via: enum Rectangle { Rect(Qrect), Coord(int, int, int, int) } and for the colors enum ColorProvider { Brush(QBrush), Color(QColor), GColor(GlobalColor) } -Manish Goregaokar On Fri, Jun 6, 2014 at 3:24 PM, Kevin Cantu m...@kevincantu.org wrote: Apologies for the accidentally sent