FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Harbour was able to produce outout Java files like .C
Posts: 336
Joined: Mon Dec 07, 2009 02:49 PM
Harbour was able to produce outout Java files like .C
Posted: Fri May 17, 2013 09:27 AM

Hi All ,

In the initial Harbour's development stage, Harbour was able to produce Java output files like .C ( that is default today). We had to supply /Java option to produce Java files. If Harbour would have been produced Java files then Harbour would be more strong XBase compiler in the world today. Why it was discarded ? do not know.

Thanks
Shridhar

Thanks

Shridhar

FWH 24.04, BCC 7 32 bit, MariaDB
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: Harbour was able to produce outout Java files like .C
Posted: Fri May 17, 2013 10:44 AM

Shridar,

It was not implemented for two reasons mainly:

  1. Nothing runs as fast as the C language. Thats why we choosed it to build Harbour

  2. It has not much sense to implement a virtual machine on top of another virtual machine. In order to get the best execution speed we should use the java virtual machine and generate opcodes for it, but java and Harbour are different thats why we cant use its virtual machine directly

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion