Re: gccgo: A gcc frontend for Go, a new programming language

2009-11-16 Thread Ian Lance Taylor
Sebastian Pop writes: > I haven't looked at the gccgo branch yet, but have quickly browsed > over the material at golang.org, and I found no document describing, > at a high level, the design of the compiler(s) and the runtime of go. As far as I know there is no such document. First let me say

Re: gccgo: A gcc frontend for Go, a new programming language

2009-11-16 Thread Sebastian Pop
Hi Ian, On Tue, Nov 10, 2009 at 17:21, Ian Lance Taylor wrote: > For the last year and a half I've been working on a gcc frontend for > Go, a new experimental systems programming language designed by a > small group at Google.  We've just open sourced it.  You can read more > about it at http://g

Re: gccgo: A gcc frontend for Go, a new programming language

2009-11-11 Thread Ian Lance Taylor
Basile STARYNKEVITCH writes: > BTW, I understood perhaps wrongly that Ian Taylor seems to believe > that gccgo has not much future, and that most of the software written > in Go (the Google niche language) could be compiled by something which > is not GCC based. I certainly hope that gccgo has a

Re: gccgo: A gcc frontend for Go, a new programming language

2009-11-11 Thread Basile STARYNKEVITCH
Joseph S. Myers wrote: On Wed, 11 Nov 2009, Basile STARYNKEVITCH wrote: * Looking at other niche languages in the past having had a GCC front-end (D, Mercury, perhaps some Modula, or Cobol, or Pascal, ...) it seems that most of them are not accepted in the GCC trunk proper. No, it's not di

Re: gccgo: A gcc frontend for Go, a new programming language

2009-11-11 Thread Joseph S. Myers
On Wed, 11 Nov 2009, Basile STARYNKEVITCH wrote: > * Looking at other niche languages in the past having had a GCC front-end (D, > Mercury, perhaps some Modula, or Cobol, or Pascal, ...) it seems that most of > them are not accepted in the GCC trunk proper. As far as I understand, neither > gcc-4.

Re: gccgo: A gcc frontend for Go, a new programming language

2009-11-11 Thread Basile STARYNKEVITCH
Basile STARYNKEVITCH wrote: * Google Go is still a niche language. And I would guess it is targetted to Linux & Unix variants (because I heard that Google does not use Windows on their web-crawling servers, but only Unix variants, mostly Linux). I really feel that a niche language is exactly

Re: gccgo: A gcc frontend for Go, a new programming language

2009-11-11 Thread Basile STARYNKEVITCH
Joe Buck wrote: On Wed, Nov 11, 2009 at 11:26:36AM -0800, Basile STARYNKEVITCH wrote: My feeling is that Google's Go (quite a nice language from the slides I just have read) is almost "canonically" the case for a front-end plugin. I have some major concerns about this suggestion. Isn't this a

Re: gccgo: A gcc frontend for Go, a new programming language

2009-11-11 Thread Ian Lance Taylor
f...@redhat.com (Frank Ch. Eigler) writes: > Ian Lance Taylor writes: > >> [...] Go, a new experimental systems programming language designed >> by a small group at Google. [...] The frontend is written in, yes, >> C++. [...] > > Neat. Are there any plans to have a front-end written in its ow

Re: gccgo: A gcc frontend for Go, a new programming language

2009-11-11 Thread Chris Lattner
On Nov 11, 2009, at 12:43 PM, Joe Buck wrote: They weren't intended as a way of attaching complete new front ends or complete new back ends. That was the thing that RMS feared the most, and he had at least some justification: would we have a C++ compiler or an Objective-C compiler if the

Re: gccgo: A gcc frontend for Go, a new programming language

2009-11-11 Thread Joe Buck
On Wed, Nov 11, 2009 at 11:26:36AM -0800, Basile STARYNKEVITCH wrote: > My feeling is that Google's Go (quite a nice language from the slides I just > have read) is almost "canonically" the case > for a front-end plugin. I have some major concerns about this suggestion. Isn't this a recipe for

Re: gccgo: A gcc frontend for Go, a new programming language

2009-11-11 Thread Joseph S. Myers
On Wed, 11 Nov 2009, Basile STARYNKEVITCH wrote: > My feeling is that Google's Go (quite a nice language from the slides I just > have read) is almost "canonically" the case for a front-end plugin. Well, if you really wish to impede host portability in several different ways. * Use of a plugin

Re: gccgo: A gcc frontend for Go, a new programming language

2009-11-11 Thread Basile STARYNKEVITCH
Frank Ch. Eigler wrote: Ian Lance Taylor writes: [...] Go, a new experimental systems programming language designed by a small group at Google. [...] The frontend is written in, yes, C++. [...] Neat. Are there any plans to have a front-end written in its own language (and use the current

Re: gccgo: A gcc frontend for Go, a new programming language

2009-11-11 Thread Frank Ch. Eigler
Ian Lance Taylor writes: > [...] Go, a new experimental systems programming language designed > by a small group at Google. [...] The frontend is written in, yes, > C++. [...] Neat. Are there any plans to have a front-end written in its own language (and use the current C++ one only for boot

gccgo: A gcc frontend for Go, a new programming language

2009-11-10 Thread Ian Lance Taylor
For the last year and a half I've been working on a gcc frontend for Go, a new experimental systems programming language designed by a small group at Google. We've just open sourced it. You can read more about it at http://golang.org/ . The gcc frontend is called gccgo. I've just committed it t