public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Thomas Schwinge <thomas@codesourcery.com>
To: <creatorsmithmdt@gmail.com>
Cc: <gcc-patches@gcc.gnu.org>, Joseph Myers <joseph@codesourcery.com>
Subject: Re: Java front-end and library patches.
Date: Thu, 1 Dec 2022 12:50:25 +0100	[thread overview]
Message-ID: <87y1rrjqbi.fsf@euler.schwinge.homeip.net> (raw)
In-Reply-To: <CAEYL+X8ibkH2AyeyM8aVMkL6gaRWTatwHonFowVF00Tk-CE62w@mail.gmail.com>

Hi!

On 2022-11-30T23:18:06+1100, Zopolis0 via Gcc-patches <gcc-patches@gcc.gnu.org> wrote:
> However, patches 14-19 do need an explanation, as proven by multiple
> reviews simply asking why I had made them. I'll send follow up
> messages to those.

Well, (at least for some of them) re-work rather than explanations.  ;-)


Anyway:

>> Why is it now considered useful to add this front end back?
>
> The way I see it, the Java front end was removed due to a lack of
> maintenance and improvement. To put it simply, I am going to maintain
> and improve it. That is the difference between now and then. There is
> more nuance, but that is the gist of it.

Ha, nice!  As it happens, a few months ago, I started the same task...
(... but with very low priority, so have not yet gotten very far...)


>> How has the series been validated?
>
> I'm not exactly sure what you mean by this.

Testing; the integrated GCC/Java test suites, as well as possibly any
external test suites.  To make sure that we're (a) not regressing
anything in non-Java GCC, and (b) that we're maintaining the
functionality level of the "old" GCC/Java.  That said, I found that the
integrated GCC/Java test suites are not exactly testing all that should
be tested...

My approach has been to establish an "old" baseline, and then gradually
rebase this onto specific GCC master branch commits, and catch up with
tree-wide changes along the way.  I've not gotten all too far yet; made a
stop to first add more testing to the baseline, so that I can be
reasonably sure that GCC/Java doesn't regress in functionality.  (It's
been sitting in that state for a number of months now...)  It may be a
somewhat more painful approach in comparison to the "all in one go"
approach that you seem to have attempted (?), but it seemed more
appropriate for me, as I'm only able to spend occasional small blocks of
time on this.


>> Would you propose to maintain the front end and libraries in future?
>
> I have big plans for the library, and plan to maintain that long into
> the future. In regards to the actual front-end code, I will do what I
> can to make sure it remains at its previous level of function, but
> that is about it. I dislike working with the front end code, so I will
> fix it, but I will not make sweeping changes to it.

I might thus be interested in joining that effort (I'm more interested in
the front end and GCC proper parts) -- but, again, this will be
low-priority project for me.


Grüße
 Thomas


> Just a brief overview of my plans for the frontend and library-- When
> GCJ was first introduced it was "the free Java implementation". It was
> trying to offer a bytecode compiler, a machine code compiler and a
> runtime library. Clearly, this was too much, as it borrowed another
> bytecode compiler and runtime library, and even then the runtime
> library fell into dissaray.
>
> Now, we have many pieces of the puzzle. We have a bounty of free Java
> bytecode compilers, and a free runtime library. The only thing missing
> is a free machine code compiler, which GCJ was and is. I plan to
> replace Classpath with the OpenJDK, and double down on the machine
> code aspect of GCJ, dropping bytecode and interpreted support.
-----------------
Siemens Electronic Design Automation GmbH; Anschrift: Arnulfstraße 201, 80634 München; Gesellschaft mit beschränkter Haftung; Geschäftsführer: Thomas Heurung, Frank Thürauf; Sitz der Gesellschaft: München; Registergericht München, HRB 106955

  parent reply	other threads:[~2022-12-01 11:50 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-25  8:37 Zopolis0
2022-11-28 22:35 ` Joseph Myers
2022-11-30 12:18   ` Zopolis0
2022-11-30 12:50     ` Xi Ruoyao
2022-11-30 18:22     ` Joseph Myers
2022-12-01 11:50     ` Thomas Schwinge [this message]
2022-12-02  0:24       ` Zopolis0
2022-12-02  0:26         ` Zopolis0
2022-12-06 11:24           ` Zopolis0
2022-12-12  0:08             ` Zopolis0
2022-12-14 23:01               ` Zopolis0
2022-12-15  2:22                 ` Zopolis0

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=87y1rrjqbi.fsf@euler.schwinge.homeip.net \
    --to=thomas@codesourcery.com \
    --cc=creatorsmithmdt@gmail.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=joseph@codesourcery.com \
    /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 read-only IMAP folder(s) and NNTP newsgroup(s).