HPJC and NetRexx...

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

HPJC and NetRexx...

mcbrides
I thought I'd share my experiences with IBM High Performance Compiler with my
fellow NetRexxers.

In case you've missed the announcements, the High Performance Compiler version
Beta A12 is now on the FTP site at AlphaWorks. This latest release of HPJ has
allowed me to compile NetRexx to a standalone application on my OS/2 dev/plat.
The ability to run NetRexx as a native app does wonders for compiling my
netrexx source to java bytecodes. The speed really is incredible.

What's even better, this release of HPJ is FAR more stable, reliable and has
yet to show "any" undue behaviour tan the previous releases. BA11 was a beast!

Compiling NetRexxC to an .exe was easy.

In a temporary directory, I unzipped the NetRexxC.zip file. After setting
classpath to: d:\jdk116\lib\classes.zip;d:\jdk116\lib\NetRexxC.zip; I executed
the SetEnvHpj setup script and executed the compiler with:
hpj -O -verbose COM\ibm\netrexx\process\NetRexxC.class

After a few moments, NetRexxC.exe was deposited in the temporary directory and
ready to use. The only cavaet being, I must now add this path to my classpath
so NetRexxC.exe can find all the resources it needs to run:
d:\ibmhpj\lib\classes.zip which makes the classpath that I use to compile
NetRexx source look like:

d:\jdk116\lib\classes.zip;d:\jdk116\lib\NetRexxC.zip;d:\ibmhpj\lib\classes.zip;.;

HPJ and NetRexx... a real sweet couple... Thanks Mike and IBM!

--

/-------------------------------------\
| Jerry McBride                       |
|                                     |
|                ([hidden email]  |
\-------------------------------------/

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe from this mailing list ( ibm-netrexx ), please send a note to
[hidden email]
with the following message in the body of the note
unsubscribe ibm-netrexx <e-mail address>

Reply | Threaded
Open this post in threaded view
|

Re: HPJC and NetRexx...

Andreas Zieritz
Jerry McBride wrote:

>
> I thought I'd share my experiences with IBM High Performance Compiler with my
> fellow NetRexxers.
>
> In case you've missed the announcements, the High Performance Compiler version
> Beta A12 is now on the FTP site at AlphaWorks. This latest release of HPJ has
> allowed me to compile NetRexx to a standalone application on my OS/2 dev/plat.
> The ability to run NetRexx as a native app does wonders for compiling my
> netrexx source to java bytecodes. The speed really is incredible.
>
> What's even better, this release of HPJ is FAR more stable, reliable and has
> yet to show "any" undue behaviour tan the previous releases. BA11 was a beast!
>
> Compiling NetRexxC to an .exe was easy.
>
> In a temporary directory, I unzipped the NetRexxC.zip file. After setting
> classpath to: d:\jdk116\lib\classes.zip;d:\jdk116\lib\NetRexxC.zip; I executed
> the SetEnvHpj setup script and executed the compiler with:
> hpj -O -verbose COM\ibm\netrexx\process\NetRexxC.class
>
> After a few moments, NetRexxC.exe was deposited in the temporary directory and
> ready to use. The only cavaet being, I must now add this path to my classpath
> so NetRexxC.exe can find all the resources it needs to run:
> d:\ibmhpj\lib\classes.zip which makes the classpath that I use to compile
> NetRexx source look like:
>
> d:\jdk116\lib\classes.zip;d:\jdk116\lib\NetRexxC.zip;d:\ibmhpj\lib\classes.zip;.;
>
> HPJ and NetRexx... a real sweet couple... Thanks Mike and IBM!


I really was excited in doing so to improve performance on my PC. After
3 hours and after my swapper.dat has increased to 134 Mb I stopped the
whole thing.

Is it possible to get the .exe file somewhere?

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe from this mailing list ( ibm-netrexx ), please send a note to
[hidden email]
with the following message in the body of the note
unsubscribe ibm-netrexx <e-mail address>

Reply | Threaded
Open this post in threaded view
|

Re: HPJC and NetRexx...

Dennis Peterson
In reply to this post by mcbrides
I was also able to build NetRexx in this way. Interestingly, the
resulting executable cannot build the qtime.nrx example. Also, even more
interesting, I built the existing qtime.class to a .exe file and when
run it reports time that is off by one hour compared to the qtime.class
form (06:13:28 am was reported as "nearly a quarter past seven".


Jerry McBride wrote:

>
> I thought I'd share my experiences with IBM High Performance Compiler with my
> fellow NetRexxers.
>
> In case you've missed the announcements, the High Performance Compiler version
> Beta A12 is now on the FTP site at AlphaWorks. This latest release of HPJ has
> allowed me to compile NetRexx to a standalone application on my OS/2 dev/plat.
> The ability to run NetRexx as a native app does wonders for compiling my
> netrexx source to java bytecodes. The speed really is incredible.
>
> What's even better, this release of HPJ is FAR more stable, reliable and has
> yet to show "any" undue behaviour tan the previous releases. BA11 was a beast!
>
> Compiling NetRexxC to an .exe was easy.
>
> In a temporary directory, I unzipped the NetRexxC.zip file. After setting
> classpath to: d:\jdk116\lib\classes.zip;d:\jdk116\lib\NetRexxC.zip; I executed
> the SetEnvHpj setup script and executed the compiler with:
> hpj -O -verbose COM\ibm\netrexx\process\NetRexxC.class
>
> After a few moments, NetRexxC.exe was deposited in the temporary directory and
> ready to use. The only cavaet being, I must now add this path to my classpath
> so NetRexxC.exe can find all the resources it needs to run:
> d:\ibmhpj\lib\classes.zip which makes the classpath that I use to compile
> NetRexx source look like:
>
> d:\jdk116\lib\classes.zip;d:\jdk116\lib\NetRexxC.zip;d:\ibmhpj\lib\classes.zip;.;
>
> HPJ and NetRexx... a real sweet couple... Thanks Mike and IBM!
>
> --
>
> /-------------------------------------\
> | Jerry McBride                       |
> |                                     |
> |                ([hidden email]  |
> \-------------------------------------/
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> To unsubscribe from this mailing list ( ibm-netrexx ), please send a note to
> [hidden email]
> with the following message in the body of the note
> unsubscribe ibm-netrexx <e-mail address>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe from this mailing list ( ibm-netrexx ), please send a note to
[hidden email]
with the following message in the body of the note
unsubscribe ibm-netrexx <e-mail address>