> > Of course, access to the Java libraries is also one of the objectives of
> > those who have started to base their Haskell implementations on Java or
> > on the JVM.
> 
> Do you have a URL for this project?  I asked alastair about doing this and
> he said there are in-principle problems with getting this to work
> efficiently.

Specifically:

1) As of 1 year ago, all Java implementations seemed to have very slow
   memory allocation - at least 10 times slower than HBC/GHC/SML-NJ.

2) Each object format requires a new class file.
   Class files are large.

3) (The real killer:) The JVM doesn't support tail recursion and the
   Java folks say it never will (because their security stuff exploits
   this fact.)

> Alternatively, fudgets could sit on top of AWT....

As Satnam Singh and I did with Budgets (see link on my home page).


-- 
Alastair Reid              Yale Haskell Project Hacker
[EMAIL PROTECTED]  http://WWW.CS.Yale.EDU/homes/reid-alastair/



Reply via email to