Re: [rust-dev] FastCGI implementation

2013-04-08 Thread Andres Osinski
Are the libUV bindings for the socket API the default canonical way in Rust for managing socket communications, or will there be a future implementation or binding to the standard POSIX socket library? On Sat, Apr 6, 2013 at 1:50 PM, Thad Guidry thadgui...@gmail.com wrote: oops, that should

Re: [rust-dev] 3 Gripes on Rust

2013-04-08 Thread Heri Sim
Wow! the community here is more active than I had anticipated! I have read responses from you guys. The community's main concern is that pass-by-value should be the default desired behavior. Thus explicitness here helps in reasoning program flow. However, with deep-immutable variables, it should

Re: [rust-dev] Importing foreign refcounted, non-threadsafe objects (GObject)

2013-04-08 Thread Daniel Micay
On Mon, Apr 8, 2013 at 4:06 AM, Patrick Walton pwal...@mozilla.com wrote: On 4/7/13 7:49 AM, Mikhail Zabaluev wrote: Hi, I've started playing with Rust bindings to GObject: https://github.com/mzabaluev/grust The intent is to make any API that provides a GObject introspection safely usable

Re: [rust-dev] FastCGI implementation

2013-04-08 Thread Alex Bradbury
On 6 April 2013 03:13, Andres Osinski andres.osin...@gmail.com wrote: I just wanted to know if anyone was familiar with the FCGI protocol, and if there's any reference as to how to manage the packing and unpacking of C data structures, as well as if you know of any implementation for a similar

Re: [rust-dev] FastCGI implementation

2013-04-08 Thread Josh Matthews
There's a very basic POSIX socket binding at https://github.com/jdm/rust-socket. It's been neglected for a bit, I would quickly merge a PR to update it to 0.6. Cheers, Josh On 8 April 2013 02:14, Andres Osinski andres.osin...@gmail.com wrote: Are the libUV bindings for the socket API the

[rust-dev] Rust Sudoku Performance

2013-04-08 Thread Heri Sim
Has anyone here taken a look at this yet? http://attractivechaos.wordpress.com/2013/04/06/performance-of-rust-and-dart-in-sudoku-solving/ Just came in on 6 April 2013 for rust 0.6 . Read it a few days back and it had instantly gotten me interested in Rust. Thought it would be good to share, even

Re: [rust-dev] Rust Sudoku Performance

2013-04-08 Thread Steve Klabnik
There's a thread called 'New Benchmark' that nobody replied to, but links to HN where most of the people replied. ___ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev

Re: [rust-dev] Rust Sudoku Performance

2013-04-08 Thread Patrick Walton
On 4/8/13 9:47 AM, Heri Sim wrote: Has anyone here taken a look at this yet? http://attractivechaos.wordpress.com/2013/04/06/performance-of-rust-and-dart-in-sudoku-solving/ Just came in on 6 April 2013 for rust 0.6 . Read it a few days back and it had instantly gotten me interested in Rust.

Re: [rust-dev] rust-0.6 compilation with system LLVM fails

2013-04-08 Thread Jauhien Piatlicki
Початкове повідомлення Тема: Re: [rust-dev] rust-0.6 compilation with system LLVM fails Дата: Mon, 08 Apr 2013 13:03:31 +0200 Від: Jauhien Piatlicki jpiatli...@gmail.com Кому: Steve Klabnik st...@steveklabnik.com As far as I can see Rust just provides another interface to

Re: [rust-dev] rust-0.6 compilation with system LLVM fails

2013-04-08 Thread Brian Anderson
On 04/07/2013 08:03 PM, Steve Klabnik wrote: Doesn't Rust still use custom patches to LLVM? Does your system LLVM have those patches? Rust 0.6's patches are pretty minimal, so it *might* be possible to run something from upstream, though it would likely need to be whatever revision our

Re: [rust-dev] Importing foreign refcounted, non-threadsafe objects (GObject)

2013-04-08 Thread Mikhail Zabaluev
Hi Patrick, 2013/4/8 Patrick Walton pwal...@mozilla.com This is a use case for the `#[nonsendable]` or `#[nonowned]` annotation on structs. This annotation isn't implemented yet, but it's a common feature request, as it will be needed for non-thread-safe reference-counted smart pointers too.

Re: [rust-dev] wanted libraries

2013-04-08 Thread Benjamin Striegel
What do you mean when you say that the page is read-only? AFAIK all pages on the wiki are read+write, and I don't see any controls to change that. On Mon, Apr 8, 2013 at 11:42 AM, Olivier Renaud o.ren...@gmx.fr wrote: Hi, I saw the [wanted libraries] page on the github wiki, and I'd like to

Re: [rust-dev] wanted libraries

2013-04-08 Thread Ralph Giles
On 13-04-08 12:25 PM, Benjamin Striegel wrote: What do you mean when you say that the page is read-only? AFAIK all pages on the wiki are read+write, and I don't see any controls to change that. At the very least, one must be logged in with a github account to edit anything. -r

[rust-dev] Re : Re: wanted libraries

2013-04-08 Thread Olivier Renaud
What do you mean when you say that the page is read-only? AFAIK all pages on the wiki are read+write, and I don't see any controls to change that. At the very least, one must be logged in with a github account to edit anything. -r Oh you are right, the page is writeable. Actually, I was

Re: [rust-dev] wanted libraries

2013-04-08 Thread andres . osinski
Would making idiomatic bindings to gettext on Unix platforms qualify for transaltions, or is the core team more interested in cross-platform Rust libraries from the start? Enviado desde mi BlackBerry de Movistar (http://www.movistar.com.ar) -Original Message- From: Olivier Renaud

[rust-dev] Debugging in Ubuntu via GDB or related tools

2013-04-08 Thread Artella Coding
Hi, I know that if I have the following basic program : *** ///hello.rs fn main(){ io::println(Hello); } *** then the command : rustc hello.rs produces an executable called hello which I can then run in ubuntu, How would I compile it so that I can then use gdb to debug,

Re: [rust-dev] Debugging in Ubuntu via GDB or related tools

2013-04-08 Thread Tim Chevalier
On Mon, Apr 8, 2013 at 11:55 AM, Artella Coding artella.cod...@googlemail.com wrote: Hi, I know that if I have the following basic program : *** ///hello.rs fn main(){ io::println(Hello); } *** then the command : rustc hello.rs produces an executable called hello

[rust-dev] Higher-kinded type parameters

2013-04-08 Thread Stephen Paul Weber
We don't have higher-kinded type parameters. It's a common feature request. I would personally be in favor of taking a patch to add the feature. Have there been many discussions about this on the mailing list about this feature? Is it lack of interest by the language designedrs, lack of