Re[2]: ANNOUNCE: GHC version 6.6.1

2007-04-28 Thread Bulat Ziganshin
Hello Albert,

Sunday, April 29, 2007, 2:51:24 AM, you wrote:

>> Is it just me who thinks this is a silly idea? Why should GHC include a
>> C++ compiler?

> .NET literates, will benefit from the many libraries available in .NET.
> Can we also include a .NET runtime, a .NET documentation suite, all .NET

you are lame. java/c# libs can't be used with current ghc, so 99% of
libs we may need are written in c/c++. making porting these lubs as
hard as possible and then heroically rewrite them in pure haskell is
one way, good for PhD and other pseudo-scientific activity. building
bridges to the world of existing software is the way to the real
haskell usage in big projects


-- 
Best regards,
 Bulatmailto:[EMAIL PROTECTED]

___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


Re: ANNOUNCE: GHC version 6.6.1

2007-04-28 Thread Albert Y. C. Lai

Duncan Coutts wrote:

Is it just me who thinks this is a silly idea? Why should GHC include a
C++ compiler?


I'm afraid it's just you. Like that someone who has indicated interest 
in haskell-c++ integration, I am interested in the prospect of mixing 
haskell with .NET languages, and not to mention that everyone, not just 
.NET literates, will benefit from the many libraries available in .NET. 
Can we also include a .NET runtime, a .NET documentation suite, all .NET 
libraries, a C# compiler, a VB compiler, and an F# compiler in a future 
GHC package for Windows? In fact also the corresponding Mono suite in 
the Linux case? Yes, I understand that a bridge between GHC and .NET 
does not exist yet, but consider this. In the spirit of "everyone is 
invited to help!" whenever there is a demand and not yet a supply in the 
Haskell community, we should encourage everyone to help add this missing 
bridge, and what better way is there if not ship a complete .NET suite 
in GHC so all interested parties can hack or test right away! And since 
this requires hacking the source code of GHC, wouldn't it be nice if the 
binary tarball also included the source tree? And also darcs since we 
will be crazy pushing and pulling?


I am not done yet. An ideal of .NET, at least for frontline developers 
if not for corporate Microsoft, is to be portable throughout Windows, 
Linux (via Mono for example), BSDs, MacOS, Solaris,... At present let's 
say just Windows and Linux in practice. Someone on Windows Vista without 
Linux will not be able to test out the bridge under construction on 
Linux. Someone on Linux without Windows Vista will not be able to test 
out the bridge under construction on Windows Vista. This is a sorry 
state of affair. To help developers and testers (and remember "everyone 
is invited to help!"), I have this bright idea: The GHC binary for Vista 
should include Linux, and the GHC binary for Linux should include Vista! 
(The GHC binary for MacOS should include both Linux and Vista!)


The last suggestion raises licensing issues, I am aware. We can't give 
away Vista just like that. We have to distribute it legally. The GHC 
team should extend itself (e.g., hire me!) to set up a lightweight 
e-Commerce company, authorized by Microsoft to sell Vista licences and 
releases. Then it can legally distribute GHC+Vista packages. (Of course 
you will have to pay, and the payment will find its way to Microsoft.) 
Collaboration with MSDN is also possible. This opens up a whole new 
dimension where no one has gone before! Just look at IBM: "We don't sell 
products, we sell services" brought them great success, in fact brought 
them out of great crisis into great success. If the GHC team also goes 
"we don't release compilers, we release complete platforms", the 
prospect is beyond imagination and its profoundness beyond expression.


How should I file this to the bug track? Should I file one monolithic 
report containing the whole shebang above? Or should I re-factor it into 
a million piecemeals and file each individually?

___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


Re: Re[2]: ANNOUNCE: GHC version 6.6.1

2007-04-28 Thread Neil Mitchell

Hi


> Is it just me who thinks this is a silly idea? Why should GHC include a

alternative way may be inclusion of instructions how to add c++ compiler
to ghc installation - it's not trivial because one need to know which
gcc version should be used and which files copied


Since I know that Bulat is the one always asking for a size reduction
in the installer, why not have a minimal installer (without c++), and
an extra-utils installer (with c++). Once GHC no longer requires C on
Windows, we can move C compilation from minimal to extra.

Of course, this requires installer hacking.

Thanks

Neil
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


Re[2]: ANNOUNCE: GHC version 6.6.1

2007-04-28 Thread Bulat Ziganshin
Hello Duncan,

Saturday, April 28, 2007, 9:58:18 PM, you wrote:

>> can you please include in win32 distro c++ compiler, as it was done
>> before and as it requested by trac ticket
>> http://hackage.haskell.org/trac/ghc/ticket/1024 ?

> Is it just me who thinks this is a silly idea? Why should GHC include a

if ghc developers think it's a bad idea they should remove this ticket

i use ghc to develop haskell/c++ program. also, many libs today
written in C++ and inclusion of c++ compiler will help to make more
libraries available for ghc users

alternative way may be inclusion of instructions how to add c++ compiler
to ghc installation - it's not trivial because one need to know which
gcc version should be used and which files copied


-- 
Best regards,
 Bulatmailto:[EMAIL PROTECTED]

___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


Re: ANNOUNCE: GHC version 6.6.1

2007-04-28 Thread Duncan Coutts
On Thu, 2007-04-26 at 17:07 +0400, Bulat Ziganshin wrote:
> Hello Ian,
> 
> Thursday, April 26, 2007, 3:22:23 PM, you wrote:
> > The (Interactive) Glasgow Haskell Compiler -- version 6.6.1
> 
> can you please include in win32 distro c++ compiler, as it was done
> before and as it requested by trac ticket
> http://hackage.haskell.org/trac/ghc/ticket/1024 ?

Is it just me who thinks this is a silly idea? Why should GHC include a
C++ compiler? If you want a C++ compiler then install one. Otherwise
where do we stop? why not just chuck in a pascal and java compiler while
we're at it.

The fact that ghc currently uses a C compiler on most platforms makes it
a special case. I believe the plan for windows in future is to not
include a C compiler at all and to always use the native code generator.
So I don't think it makes sense to be adding more bits of gcc when we
plan to remove it entirely in future.

Duncan

___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users