Re: [Google Summer of Code 2013] - Mozilla Rust language bindings

2013-02-14 Thread Thomas Schwinge
Hi! On Thu, 14 Feb 2013 15:26:46 +1300, "Nolan Tunnicliffe" wrote: > http://www.reddit.com/r/rust/comments/18dfd6/gsoc_2013_started_any_rust_project_ideas/ Thanks for this proposal (the very first we (GNU Hurd) get this year)! Looks like a good project to me. As you posted it on , I'll assume

Re: [Google Summer of Code 2013] - Mozilla Rust language bindings

2013-02-14 Thread Thomas Schwinge
Hi! On Thu, 14 Feb 2013 15:26:46 +1300, "Nolan Tunnicliffe" wrote: > http://www.reddit.com/r/rust/comments/18dfd6/gsoc_2013_started_any_rust_project_ideas/ Thanks for this proposal (the very first we (GNU Hurd) get this year)! Looks like a good project to me. As you posted it on , I'll assume

[RFC] Fixing non-blocking select/poll

2013-02-14 Thread Richard Braun
On Wed, Feb 13, 2013 at 01:53:37AM +0100, Samuel Thibault wrote: > and pushed to our glibc repository. This is all above Richard's > io_select_timeout changes. I've pushed my latest changes to the hurd and glibc repositories, respectively in the rbraun/select_timeout_pthread_v3 and rbraun/io_selec

Re: [PATCH,HURD][RFC] hurdselect: Step7x, almost complete rewrite finished

2013-02-14 Thread Samuel Thibault
Svante Signell, le Wed 13 Feb 2013 09:24:23 +0100, a écrit : > contributions should be acknowledged to whoever made them, too. Yes, that's what credits are for. Copyright is an entirely different (and way more boring) thing. Samuel

Re: [PATCH,HURD][RFC] hurdselect: Step7x, almost complete rewrite finished

2013-02-14 Thread Samuel Thibault
Svante Signell, le Wed 13 Feb 2013 07:24:46 +0100, a écrit : > Problem is that he did not give any hints on _how_ to make the > rewrite. If introducing the SELECT_ERROR had been discussed (or > allowed to introduce) my solution would have been different too. As I mentioned yesterday, I couldn't ha

Re: [PATCH,HURD][RFC] hurdselect: Step7x, almost complete rewrite finished

2013-02-14 Thread Svante Signell
On Thu, 2013-02-14 at 23:49 +0100, Samuel Thibault wrote: > Svante Signell, le Wed 13 Feb 2013 07:24:46 +0100, a écrit : > > Problem is that he did not give any hints on _how_ to make the > > rewrite. If introducing the SELECT_ERROR had been discussed (or > > allowed to introduce) my solution would

Re: [PATCH,HURD][RFC] hurdselect: Step7x, almost complete rewrite finished

2013-02-14 Thread Samuel Thibault
Svante Signell, le Fri 15 Feb 2013 00:18:16 +0100, a écrit : > Well, I might say I have some C programming experience "some" is not enough to properly deal with something as complex as select :) > > Svante Signell, le Wed 13 Feb 2013 06:51:29 +0100, a écrit : > > > On Wed, 2013-02-13 at 01:53 +01

Re: [PATCH,HURD][RFC] hurdselect: Step7x, almost complete rewrite finished

2013-02-14 Thread Svante Signell
On Fri, 2013-02-15 at 00:31 +0100, Samuel Thibault wrote: > Having a separate hurddoselect.c with a function containing the shared > code would have both factorization and hierarchy, but the semantic of > the function gets tricky, and it'd be easy to miss thing. > > Select/poll *are* complex, you

Re: [PATCH,HURD][RFC] hurdselect: Step7x, almost complete rewrite finished

2013-02-14 Thread Samuel Thibault
Svante Signell, le Fri 15 Feb 2013 00:37:39 +0100, a écrit : > > No, it doesn't. There are quite a few ways in which it will break. > > Well (as you say) I'm a newbie C programmer, tell me where the bugs > are ;-) As I already said, there are too many than I want to even spend time describing any

Re: [Google Summer of Code 2013] - Mozilla Rust language bindings

2013-02-14 Thread Samuel Thibault
Hello, Well, porting Rust to GNU/Hurd definitely can be useful, so your project is more than welcome in that regard. I however have to say you probably underestimate the amount of work needed to write a driver. The language can help in some way, but not very much. The main part of difficulty is

Re: [RFC] Fixing non-blocking select/poll

2013-02-14 Thread Samuel Thibault
Hello, Richard Braun, le Thu 14 Feb 2013 12:19:39 +0100, a écrit : > On Wed, Feb 13, 2013 at 01:53:37AM +0100, Samuel Thibault wrote: > > and pushed to our glibc repository. This is all above Richard's > > io_select_timeout changes. > > I've pushed my latest changes to the hurd and glibc reposito

Re: [PATCH,HURD][RFC] hurdselect: Step7x, almost complete rewrite finished

2013-02-14 Thread Samuel Thibault
BTW, I can understand the kind of frustration you can have of seeing your work being "thrown away" and rewritten. Well, that's life, software is a lot about frustration, you'll have to get a thick head. Samuel

RE: [Google Summer of Code 2013] - Mozilla Rust language bindings

2013-02-14 Thread Nolan Tunnicliffe
I don't mind where a Rust port to Hurd is discussed. To get some of the technical answers regarding Rust though you may need to ask on reddit.com or maybe the rust-...@mozilla.org. Although I will research what I can. I'm not a language developer myself. I'm not a student so I can't participate

Re: [PATCH,HURD][RFC] hurdselect: Step7x, almost complete rewrite finished

2013-02-14 Thread Svante Signell
On Fri, 2013-02-15 at 00:58 +0100, Samuel Thibault wrote: > Svante Signell, le Fri 15 Feb 2013 00:37:39 +0100, a écrit : > > > No, it doesn't. There are quite a few ways in which it will break. > > > > Well (as you say) I'm a newbie C programmer, tell me where the bugs > > are ;-) > > As I alread

Re: [PATCH,HURD][RFC] hurdselect: Step7x, almost complete rewrite finished

2013-02-14 Thread Svante Signell
On Fri, 2013-02-15 at 00:31 +0100, Samuel Thibault wrote: > Svante Signell, le Fri 15 Feb 2013 00:18:16 +0100, a écrit : > > > I don't understand what you mean. What delay are you talking about? > > > The only delay in by branch is the delay requested by the user. > > > > Well, with my code I ne