9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Lucio De Re <lucio@proxima.alt.za>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] Plan 9 Go (Was: GNU/Linux/Plan 9 disto)
Date: Fri, 22 Jul 2011 19:48:41 +0200	[thread overview]
Message-ID: <20110722174841.GA2065@fangle.proxima.alt.za> (raw)
In-Reply-To: <142CEA85-FE43-4D87-B08D-BF151422BC07@bitblocks.com>

On Fri, Jul 22, 2011 at 08:39:56AM -0700, Bakul Shah wrote:
>
> Is your goal to a) have the standard go distribution build on plan9
> with no changes or b) do a minimal infrastructure to make future ports
> easy or c) do a one time port?
>
The crucial feature is that any changes to the Go distribution should slot
into the Plan 9 port of Go as seamlessly as possible.  What has happened
to me a couple of times since Go was first released, is that I applied
immense quantities of patching to my heart's content to the released Go
sources, only to need to re-apply them, with similar difficulty only a
few month laters, to a changed source base.

I am pleased and extremely grateful that the number of such necessary
changes has been reduced significantly, with Russ Cox's help, by
incorporating these changes into the Go distribution.  At this point,
there are only two adjustments I believe will be hard to eliminate
entirely, although I think now that the second has a simple solution.

And, yes, there is a rather big carpet I have swept some items under
and Russ has rejected corrections that would be really nice to have,
in all case with a firm, but understanding hand.  The end result is that
after importing the Go distribution in toto into the Plan 9 repository I
set up for it, the 386, arm and x64 C compilers, assemblers and linkers
all are generated correctly on my Plan 9 platform.  Untested except for
8l and no doubt with some imperfections, but I consider this progress.
The code review process my patches are undergoing adds enough confidence
that I'm willing to relegate testing to some time in the future when I
have a more complete code base and the corresponding executable binaries.

I have also made my life a touch harder by declining to use the APE
environment, but the structure of the Go distribution makes that less
of a burden than one may assume.

> If it is c), why not just use the 9front port? If b) or a), why not
> look at what they have done at the very least?
>
One reason for not looking at Taru's work (I guess it is feeble, but
who is to know?) is that I don't know the status of its copyright; I
have ceded copyright to the Go Authors (more accurately, I have filled
the necessary paperwork to satisfy their legal requirements), but I can
hardly apply that cession to Taru's work.

For the rest, I have been alerted in private mail that Taru's work
contains many adjustments whose intention was to get the code to compile.
I have a similar code base and Erik Quanstrom has another.  I know my
early set of patches is totally inadequate today, I often refer to it in
this phase of this project.  I presume that Erik and Taru both will find
their patches significantly out of sync with future Go releases before
too long.  As it may take me many months to get the project completed,
I'd rather work in tandem with the Go runtime developers, who seem to
have taken the same route as I have, namely to include their changes _in_
the Go distribution as they go along.

> I'd first fix Make.* to use byacc, or even better, p9p yacc, and
> run all the tests on a bsd and just fix %error-verbose. If they pass,
> no need to port bison or may be even byacc.

That's an interesting approach I had not considered.  It involves
considerable throw-away work, but it will be instructive.  Right now
my priority is to smooth out quite a few wrinkles in my repository,
where the last batch of changes needs extensive rework, not all caused
by Bison-itis.  As soon as I have my head out of the water, I'll follow
the much appreciated advice I have received from you all.

++L



  parent reply	other threads:[~2011-07-22 17:48 UTC|newest]

Thread overview: 58+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-22  5:36 arnold
2011-07-22  6:33 ` Lucio De Re
2011-07-22  7:42   ` Bakul Shah
2011-07-22  9:49     ` Lucio De Re
2011-07-22 12:41 ` erik quanstrom
2011-07-22 13:03   ` Lucio De Re
2011-07-22 15:13     ` erik quanstrom
2011-07-22 15:37       ` Lucio De Re
2011-07-22 17:13         ` Bakul Shah
2011-07-22 17:53           ` erik quanstrom
2011-07-22 18:08             ` Lucio De Re
2011-07-22 18:20               ` erik quanstrom
2011-07-22 18:32                 ` Skip Tavakkolian
2011-07-22 19:04                   ` Lucio De Re
2011-07-22 18:54                 ` Lucio De Re
2011-07-22 18:22             ` ComeauAt9Fans@gmail.com
2011-07-22 18:32               ` erik quanstrom
2011-07-22 18:57               ` Lucio De Re
2011-07-22 18:38             ` Bakul Shah
2011-07-22 18:45               ` erik quanstrom
2011-07-22 18:48               ` ComeauAt9Fans@gmail.com
2011-07-22 18:53                 ` erik quanstrom
2011-07-22 19:08                   ` tlaronde
2011-07-22 18:55                 ` Bakul Shah
2011-07-22 19:09                   ` erik quanstrom
2011-07-22 19:42                     ` Bakul Shah
2011-07-23  9:14                       ` erik quanstrom
2011-07-23 13:24                         ` Lucio De Re
2011-07-22 19:13                   ` Lucio De Re
2011-07-22 15:39     ` Bakul Shah
2011-07-22 15:43       ` erik quanstrom
2011-07-22 16:35         ` Steve Simon
2011-07-22 17:53           ` Lucio De Re
2011-07-22 18:03             ` Lucio De Re
2011-07-22 18:30           ` Ethan Grammatikidis
2011-07-22 18:33             ` erik quanstrom
2011-07-22 18:53               ` ComeauAt9Fans@gmail.com
2011-07-22 19:00             ` Lucio De Re
2011-07-22 20:10               ` Ethan Grammatikidis
2011-07-22 22:59                 ` Russ Cox
2011-07-23 11:16                   ` Ethan Grammatikidis
2011-07-22 17:48       ` Lucio De Re [this message]
2011-07-22 18:17         ` Ethan Grammatikidis
2011-07-22 19:40         ` Bakul Shah
  -- strict thread matches above, loose matches on Subject: below --
2011-07-22  8:18 arnold
2011-07-15  8:51 Alex Brainman
2011-07-11 16:59 [9fans] GNU/Linux/Plan 9 disto Gorka Guardiola
2011-07-11 19:31 ` Charles Forsyth
2011-07-12  5:59   ` Pavel Zholkover
2011-07-12 15:13     ` [9fans] Plan 9 Go (Was: GNU/Linux/Plan 9 disto) Lucio De Re
2011-07-12 18:35       ` Francisco J Ballesteros
2011-07-13 18:31         ` Lucio De Re
2011-07-13 18:45           ` Lucio De Re
2011-07-14 18:59             ` stephano zanzin
2011-07-14 20:21               ` Lucio De Re
2011-07-14 20:35                 ` Iruatã Souza
2011-07-15  2:37                 ` Fazlul Shahriar
2011-07-22  4:40           ` Lucio De Re
2011-07-22 14:37             ` Ethan Grammatikidis
2011-07-27  2:55               ` kokamoto
2011-07-12 18:44       ` Skip Tavakkolian

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110722174841.GA2065@fangle.proxima.alt.za \
    --to=lucio@proxima.alt.za \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).