Re: Replacing select() in the non-threaded RTS?

2007-05-31 Thread Bryan O'Sullivan
Stefan O'Rear wrote: I don't beleive the GHC team would be interested in receiving any patches to the non-threaded RTS, since it is scheduled for removal in 6.8 IIRC (leaving only threaded). But the threaded RTS calls select, too, only from Haskell instead of C. So the problem remains,

RE: GHC Extensibility

2007-05-31 Thread Simon Peyton-Jones
| Another question: was there any significant optimization or | performance change in the front-end (ie.: generation of Core/STG tree) | since GHC 6.2.2? Well, I think the core code is a bit better (i.e. more optimised) but it's the same old Core. Simon

Re: GHC.Prim problem

2007-05-31 Thread Ben Sinclair
On Tue, May 29, 2007 at 04:05:49PM +0100, Simon Marlow wrote: Ben Sinclair wrote: Hello, I've had a problem with GHC.Prim when compiling the darcs HEAD lately. When I compile it in the normal way with no special options Main.hs:3:0: Failed to load interface for `GHC.Prim':

Re: GHC.Prim problem

2007-05-31 Thread Simon Marlow
Ben Sinclair wrote: On Tue, May 29, 2007 at 04:05:49PM +0100, Simon Marlow wrote: Ben Sinclair wrote: Hello, I've had a problem with GHC.Prim when compiling the darcs HEAD lately. When I compile it in the normal way with no special options Main.hs:3:0: Failed to load interface for

Re: GHC as a library

2007-05-31 Thread Simon Marlow
Simon Peyton-Jones wrote: | In typecheckedSource, I can only access the function definitions with | type annotations, but not the data type declaration. | In checkedModuleInfo, I can only access the Names of the exported | entities, and but not their (inferred) types are not present. You have

Re: [slightly OT] ghc-6.6.1 on OpenBSD/i386: internal error (Storage.c)

2007-05-31 Thread Matthias Kilian
On Tue, May 29, 2007 at 04:15:29PM +0100, Simon Marlow wrote: What puzzles me a little bit is the fact that this does *not* happen on amd64 (aka x86_64) but only on i386 so far. So does this ring a bell for anyone? I didn't find anything similar in the archives or in the bug tracker. No

Re: [slightly OT] ghc-6.6.1 on OpenBSD/i386: internal error (Storage.c)

2007-05-31 Thread Simon Marlow
Matthias Kilian wrote: On Tue, May 29, 2007 at 04:15:29PM +0100, Simon Marlow wrote: What puzzles me a little bit is the fact that this does *not* happen on amd64 (aka x86_64) but only on i386 so far. So does this ring a bell for anyone? I didn't find anything similar in the archives or in the