RE: ANNOUNCEMENT: The Glasgow Haskell Compiler, version 4.04

1999-08-02 Thread Simon Marlow


 Why is the parser (parser/Parser.hs) compiled with -H80M? 
 This causes an error
 on my ghc-4.02 (default max heap size 64M). Instead of increasing the
 maximum heap size, I just tried -H64M, which works fine (and 
 it should also
 work without -Hxxx, but it would take probably longer to compile).

It depends on the compiler; 4.02 is pretty hungry and might need more than
64m.

 BTW: Does increasing the default heap size affect the overall memory
 consumption of the compiler?

It shouldn't in general, but it can if your program has strange memory
behaviour.  GHC tries to make best use of all the memory allocated to it by
-H, estimating how the program will behave and sizing the generations
accordingly.  Sometimes the program has a blip in space usage which can
cause GHC to overflow the -H boundary.

Cheers,
Simon



Re: ANNOUNCEMENT: The Glasgow Haskell Compiler, version 4.04

1999-07-30 Thread Josef Sveningsson

On Thu, 29 Jul 1999, Simon Marlow wrote:

The Glasgow Haskell Compiler -- version 4.04
   ==
 
[Snip]
- Rewrite rules can be specified in the source using the RULES
  pragma.  This is used for automatic fusion of common list
  functions.
 
Some time ago I requested some sort of explanation on which functions one
should use to achive fusion. Now that GHC really fuses functions (which it
didn't when I made my last request) I think it would be nice if you
updated the user's guide with a list of functions that can be fused and
how to use them.

Keep up the good work.

/Josef

--
|Josef Svenningsson|http://www.dtek.chalmers.se/~d95josef|
|Rubingatan 39 |  email: [EMAIL PROTECTED]   |
|421 62 Göteborg   |  tel: 031-7090774   |
--
What is a magician but a practising theorist?
-- Obi-Wan Kenobi



Re: ANNOUNCEMENT: The Glasgow Haskell Compiler, version 4.04

1999-07-30 Thread Peter White


The ghc binary distribution was easy to install, thank you.
I did the full install, with "make install". If you try to
do a "make in-place", you get:

make: Fatal error in reader: = missing from  replacement macro reference

I tried to follow the links from 
http://research.microsoft.com/users/t-simonm/ghc/
to download parallel haskell, but the links all take you
in a circle back to http://research.microsoft.com/users/t-simonm/ghc/.
Where can I get parallel Haskell?

Cheers
Peter White, Motorola



RE: ANNOUNCEMENT: The Glasgow Haskell Compiler, version 4.04

1999-07-30 Thread Simon Marlow

 Now that you're an (ahem) Microsoft employee, is there any 
 intention of
 allowing ghc to use Visual C++ instead of gcc,

We plan to allow this, but there'll be a price to pay: the gcc extensions
that we use buy us about a factor of 2 in performance and binary sizes.

 or supporting the Win32
 platform without cygwin?

You can already build binaries on Win32 that don't need cygwin.  However,
you'll still need cygwin in order to run the compiler (for the time being,
anyway).

Cheers,
Simon





ANNOUNCEMENT: The Glasgow Haskell Compiler, version 4.04

1999-07-29 Thread Simon Marlow

 The Glasgow Haskell Compiler -- version 4.04
==

We are pleased to announce a new release of the Glasgow Haskell
Compiler (GHC), version 4.04.  The source distribution and various binary
distributions are freely available via the World-Wide Web and through anon.
FTP; details below.

Haskell is "the" standard lazy functional programming language; the
current language version is Haskell 98, agreed in December 1998.
Haskell related information is available from the Haskell home page at

http://haskell.org/

GHC's Web page lives at

http://research.microsoft.com/users/t-simonm/ghc/

+ What's new
=

   - GHC is now officially Open Source, see the LICENSE file in the
 distribution for details.

   - Rewrite rules can be specified in the source using the RULES
 pragma.  This is used for automatic fusion of common list
 functions.

   - Performance tuning: compiled programs now allocate 30% less
 and run 20% faster on average compared to GHC 4.02.

   - GHC now uses a Happy parser instead of the old yacc/lex one.

For full details see the release notes:


http://research.microsoft.com/users/t-simonm/ghc/Docs/latest/users_guide/use
rs_guide-1.html#ss1.4

+ Mailing lists


We run mailing lists for GHC users and bug reports; to subscribe, send
mail to [EMAIL PROTECTED]; the msg body should be:

subscribe glasgow-haskell-which Your Name [EMAIL PROTECTED]

Please send bug reports about GHC to [EMAIL PROTECTED]; GHC
users hang out on [EMAIL PROTECTED]


+ On-line GHC-related resources


Relevant URLs on the World-Wide Web:

GHC home page http://research.microsoft.com/users/t-simonm/ghc/
Haskell home page http://haskell.org/
comp.lang.functional FAQ
http://www.cs.nott.ac.uk/Department/Staff/mpj/faq.html


+ How to get it


The easy way is to go to the WWW page, which should be
self-explanatory:

http://research.microsoft.com/users/t-simonm/ghc/

Once you have the distribution, please follow the pointers in the
README file to find all of the documentation about this release.  NB:
preserve modification times when un-tarring the files (no `m' option
for tar, please)!


+ Binary Distributions
==

We currently have binary distributions for i386-unknown-linux and
sparc-sun-solaris2 available from the web page.  The following distributions
will follow shortly:

  * Win32
  * i386-unknown-freebsd3
  * hppa1.1-hp-hpux


+ System requirements
==

To compile up this release, you need a machine with 64+MB memory, GNU C
(`gcc'), `perl' plus a version of GHC installed (3.02 at least).  This
release is known to work on the following platforms:

  * i386-unknown-{linux,solaris2,freebsd,cygwin32}
  * sparc-sun-{sunos4,solaris2}
  * hppa1.1-hp-hpux{9,10}

Ports to the following platforms should be relatively easy, but
haven't been tested due to lack of time/hardware:

  * alpha-dec-osf{2,3}
  * mips-sgi-irix{5,6}
  * {rs6000,powerpc}-ibm-aix

The installer's guide included in distribution gives a complete
run-down of what-ports-work; an on-line version can be found at

 
http://research.microsoft.com/users/t-simonm/ghc/Docs/latest/installation_gu
ide/installing.html



Re: ANNOUNCEMENT: The Glasgow Haskell Compiler, version 4.04

1999-07-29 Thread Craig Dickson

Now that you're an (ahem) Microsoft employee, is there any intention of
allowing ghc to use Visual C++ instead of gcc, or supporting the Win32
platform without cygwin?

Thanks,

Craig

- Original Message -
From: Simon Marlow [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Thursday, 29 July 1999 10:37 am
Subject: ANNOUNCEMENT: The Glasgow Haskell Compiler, version 4.04


  The Glasgow Haskell Compiler -- version 4.04
 ==

[etc.]