[Haskell] RE: Internships on GHC and Haskell at MSR Cambridge

2006-08-01 Thread Simon Peyton-Jones
| MSR Cambridge now takes interns *year-round*, not just in the summer
months.  Simon Marlow and I
| are keen to attract motivated and well-qualified folk to work with us
on our research, and on improving
| or developing GHC.

PS: concerning the enclosed, if you are interested in an internship at
MSR for the October-December 2006 period, you'll need to get weaving
very quickly.  Because of summer holidays etc, we'll be taking decisions
in the week of 14 August, so you'll need to get your application
(including references) in by 13 August.

Simon

| -Original Message-
| From: Simon Peyton-Jones
| Sent: 25 July 2006 10:56
| To: haskell-cafe@haskell.org; haskell@haskell.org;
glasgow-haskell-users@haskell.org
| Subject: Internships on GHC and Haskell at MSR Cambridge
| 
| Gentle Haskellers
| 
| Would you be interested in working for three months at Microsoft
Research, Cambridge, on a project
| related to GHC or Haskell?
| 
| MSR Cambridge now takes interns *year-round*, not just in the summer
months.  Simon Marlow and I
| are keen to attract motivated and well-qualified folk to work with us
on our research, and on improving
| or developing GHC.
| 
| If you or one of your students is interested, you can find more
details here
|   http://hackage.haskell.org/trac/ghc/wiki/Internships
| 
| Our next empty slot is the Oct-Dec period, but you are welcome to
apply for some later period.
| 
| Simon PJ
| 
| PS: There are lots of other programming-language folk at MSR (F#,
security, probabilistic
| languages...), and stuff beyond that (machine learning, systems and
networks...); see
| http://research.microsoft.com/aboutmsr/labs/cambridge/
___
Haskell mailing list
Haskell@haskell.org
http://www.haskell.org/mailman/listinfo/haskell


Re: [Haskell] thread-local variables

2006-08-01 Thread Einar Karttunen
On 31.07 23:53, Adrian Hey wrote:
> Frederik Eaton wrote:
> >On Mon, Jul 31, 2006 at 03:09:59PM +0300, Einar Karttunen wrote:
> >>On 31.07 03:18, Frederik Eaton wrote:
> >>4) the library runs the callback code in Tw where the TLS state is
> >>   invalid. This is even worse than a global variable in this case.
> >
> >If you have threads, and you have something which needs to be
> >different among different threads, then it is hard for me to see how
> >thread-local variables could be worse than global variables in any
> >case at all.
> 
> I haven't been following the technicalities of the particular
> scenario that's under discussion so I don't know exactly
> what either of you mean by "(even) worse than global variables".
> 
> I just want to point out that, as I (and a few others) see it at
> least, top level mutable state (aka "global variables") is
> absolutely necessary sometimes for _SAFETY_ reasons.

I agree that global variables are sometimes the best solution.
My point in the quote was that in the example described
TLS would cause more trouble than global mutable state.

> But I would say that I think I would find having to know what thread
> a particular bit of code was running in in order to "grok it" very
> strange, unless there was some obvious technical reason why the
> thread local state needed to be thread local (can't think of any
> such reason right now).

I have to agree to this. It would be very nice to see good examples
of thread local state in action that would teach us (the sceptics)
why TLS is a good idea in Haskell - and maybe we would learn to
write better code with it. Something more than simply avoiding
a Reader monad / implicit parameters would be nice.

ps. Should we move this discussion to haskell-cafe?

- Einar Karttunen
___
Haskell mailing list
Haskell@haskell.org
http://www.haskell.org/mailman/listinfo/haskell


[Haskell] AngloHaskell: Call for Participation

2006-08-01 Thread Lemmih

Greetings fellow hackers,

It is my great pleasure to call attention to the informal gathering of
the Haskell community. The event will take place at Cambridge, UK, on
Friday and Saturday the 4-5th of August. Don't miss this opportunity
to:
* associate IRC handles with faces,
* drink beer,
* ride unicycles and
* much more.

The event is of course free and non-haskellers are welcome as well.
More information can be found here: http://haskell.org/haskellwiki/AngloHaskell

--
Friendly,
 Lemmih
___
Haskell mailing list
Haskell@haskell.org
http://www.haskell.org/mailman/listinfo/haskell