Which compiler (Java *or* ECJ) is nowadays recommended by the experts?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Which compiler (Java *or* ECJ) is nowadays recommended by the experts?

ThSITC
Hello there,

I did just download the recent 3.03RC2 release of NetRexx (still have to
read the updated programming Guide),
and do have one suggestion:

The final release should contain batch (.bat, .sh, .cmd) files for both
compiler versions, I think.

I personally did setup for instance an "nrce.bat' for the
ECJ-compilation command as mentioned
in the existing documentation (printed out all of the 3.02 release some
time ago).

That should make it easier for te novice users to evaluate both versions.

May I also please note that the ancient %1 %2 %3 ... %10 in the Windows
batch files
to be replaced by %*, as this would allow any number of parameters to be
passed
to nrc.bat  and netrexxc.bat ... ;-)

--  and 2 questions as well (as always, as usual) ;-)

1.) What compiler (Java *or* ecj) shall the experts nowadays recommend
(for what purpose) ?
2.) Kermit, is it possible to pass the compiler to be used to Your
famous JEdit NetRexx Plugin ?

Happy weekend, all, and good EU voting for the European Netrexx users as
well, of course :-)

Thomas Schneider.


_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

Thomas Schneider, Vienna, Austria (Europe) :-)

www.thsitc.com
www.db-123.com
Reply | Threaded
Open this post in threaded view
|

Re: Which compiler (Java *or* ECJ) is nowadays recommended by the experts?

Kermit Kiser
Thomas --

I don't really know what differs between Java compilers but I have
noticed that ecj seems faster than javac while javac usually seems to
produce more compact class files than ecj. If you have a chance to
research them and produce a good comparison, it would be appreciated.

I don't think there is a way to pass the compiler selection to the jEdit
plugin now. You would have to translate first and compile separately to
use ecj currently. I will add the option to the list of future enhancements.

-- Kermit

On 5/24/2014 4:51 AM, Thomas Schneider wrote:

> Hello there,
>
> I did just download the recent 3.03RC2 release of NetRexx (still have
> to read the updated programming Guide),
> and do have one suggestion:
>
> The final release should contain batch (.bat, .sh, .cmd) files for
> both compiler versions, I think.
>
> I personally did setup for instance an "nrce.bat' for the
> ECJ-compilation command as mentioned
> in the existing documentation (printed out all of the 3.02 release
> some time ago).
>
> That should make it easier for te novice users to evaluate both versions.
>
> May I also please note that the ancient %1 %2 %3 ... %10 in the
> Windows batch files
> to be replaced by %*, as this would allow any number of parameters to
> be passed
> to nrc.bat  and netrexxc.bat ... ;-)
>
> --  and 2 questions as well (as always, as usual) ;-)
>
> 1.) What compiler (Java *or* ecj) shall the experts nowadays recommend
> (for what purpose) ?
> 2.) Kermit, is it possible to pass the compiler to be used to Your
> famous JEdit NetRexx Plugin ?
>
> Happy weekend, all, and good EU voting for the European Netrexx users
> as well, of course :-)
>
> Thomas Schneider.
>
>
> _______________________________________________
> Ibm-netrexx mailing list
> [hidden email]
> Online Archive : http://ibm-netrexx.215625.n3.nabble.com/
>
>
>

_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

Reply | Threaded
Open this post in threaded view
|

Re: Which compiler (Java *or* ECJ) is nowadays recommended by the experts?

ThSITC
-- Kermit, Rene, all:

As I am now recompiling any and all of my software, I shall *take up*
this Your suggestion

  I shall measure that (both -time and *.class size*) for both variants.

NO Problem with Your JEdit plugin, now, as I am still working with
*Commands* (but switching to SVN now :-)

And thanks for Your hint that *ecj* is *faster*.

That shall imply for me that I shall work with *ecj* during the
development, and use the *Oracle Java Compiler*
for the release version!

Good to know!
-- Thomas.
==============================================================================

Am 26.05.2014 20:10, schrieb Kermit Kiser:

> Thomas --
>
> I don't really know what differs between Java compilers but I have
> noticed that ecj seems faster than javac while javac usually seems to
> produce more compact class files than ecj. If you have a chance to
> research them and produce a good comparison, it would be appreciated.
>
> I don't think there is a way to pass the compiler selection to the
> jEdit plugin now. You would have to translate first and compile
> separately to use ecj currently. I will add the option to the list of
> future enhancements.
>
> -- Kermit
>
> On 5/24/2014 4:51 AM, Thomas Schneider wrote:
>> Hello there,
>>
>> I did just download the recent 3.03RC2 release of NetRexx (still have
>> to read the updated programming Guide),
>> and do have one suggestion:
>>
>> The final release should contain batch (.bat, .sh, .cmd) files for
>> both compiler versions, I think.
>>
>> I personally did setup for instance an "nrce.bat' for the
>> ECJ-compilation command as mentioned
>> in the existing documentation (printed out all of the 3.02 release
>> some time ago).
>>
>> That should make it easier for te novice users to evaluate both
>> versions.
>>
>> May I also please note that the ancient %1 %2 %3 ... %10 in the
>> Windows batch files
>> to be replaced by %*, as this would allow any number of parameters to
>> be passed
>> to nrc.bat  and netrexxc.bat ... ;-)
>>
>> --  and 2 questions as well (as always, as usual) ;-)
>>
>> 1.) What compiler (Java *or* ecj) shall the experts nowadays
>> recommend (for what purpose) ?
>> 2.) Kermit, is it possible to pass the compiler to be used to Your
>> famous JEdit NetRexx Plugin ?
>>
>> Happy weekend, all, and good EU voting for the European Netrexx users
>> as well, of course :-)
>>
>> Thomas Schneider.
>>
>>
>> _______________________________________________
>> Ibm-netrexx mailing list
>> [hidden email]
>> Online Archive : http://ibm-netrexx.215625.n3.nabble.com/
>>
>>
>>
>
> _______________________________________________
> Ibm-netrexx mailing list
> [hidden email]
> Online Archive : http://ibm-netrexx.215625.n3.nabble.com/
>

_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

Thomas Schneider, Vienna, Austria (Europe) :-)

www.thsitc.com
www.db-123.com