[m-rev.] diff: update README.Java
Peter Wang
novalazy at gmail.com
Fri Sep 25 17:35:49 AEST 2009
Branches: main
README.Java:
Make the warning less scary.
Preempt complaints about performance on short programs.
Index: README.Java
===================================================================
RCS file: /home/mercury1/repository/mercury/README.Java,v
retrieving revision 1.13
diff -u -p -r1.13 README.Java
--- README.Java 14 Aug 2009 06:34:03 -0000 1.13
+++ README.Java 25 Sep 2009 07:33:11 -0000
@@ -27,10 +27,11 @@ In order to try this system you will nee
If you're reading this file from somewhere other than the
Mercury distribution, try the Mercury homepage at
<http://www.mercury.csse.unimelb.edu.au>
+
WARNING
-Please note that the Java backend is still an experimental feature. It
-is still quite buggy in places and is sometimes completely broken.
+Please note that the Java backend is still an experimental feature.
+It works quite well now but is not as mature as the C backends.
-----------------------------------------------------------------------------
@@ -82,6 +83,12 @@ Language Reference Manual, which you can
<http://www.mercury.csse.unimelb.edu.au/information/documentation.html>
+Some short programs may run much more slowly in the Java grade than the C
+grades. The runtime is probably dominated by Java class loading and running
+in interpreted mode. A long running program should perform reasonably well
+with a Just-In-Time compiler. It may also be possible to use an Ahead-Of-Time
+Java compiler, but we haven't tried that yet.
+
-----------------------------------------------------------------------------
RESOURCES
--------------------------------------------------------------------------
mercury-reviews mailing list
Post messages to: mercury-reviews at csse.unimelb.edu.au
Administrative Queries: owner-mercury-reviews at csse.unimelb.edu.au
Subscriptions: mercury-reviews-request at csse.unimelb.edu.au
--------------------------------------------------------------------------
More information about the reviews
mailing list