In which cases/problems is Prolog faster than Java?
- From: Christina <christine.uk2000@xxxxxxxxx>
- Date: Mon, 19 May 2008 12:00:38 -0700 (PDT)
I have implemented sorting algorithms like merge sort, tree sort and
bubble sort in both Java and Trinc-Prolog, hoping to prove that Prolog
runs faster than Java....Unfortunately, for large amount of data
(30000 input size), Trinc-Prolog dies and Java runs in 2 or 3
miliseconds....for small input, still Java is better in comparison
with Trinc-Prolog. I will also test minimax algorithm for checkers,
both in Java and in Prolog, but this will take some time....firstly, I
am interested in small problems that would prove Prolog's efficiency
over Java.
I want to know which problems work better in Prolog than in Java, so
that I can continue my study.
Thank you,
Christine
.
- Follow-Ups:
- Re: In which cases/problems is Prolog faster than Java?
- From: A . L .
- Re: In which cases/problems is Prolog faster than Java?
- From: Cameron Hughes
- Re: In which cases/problems is Prolog faster than Java?
- From: Peter Van Weert
- Re: In which cases/problems is Prolog faster than Java?
- From: bart demoen
- Re: In which cases/problems is Prolog faster than Java?
- From: Jan Wielemaker
- Re: In which cases/problems is Prolog faster than Java?
- Prev by Date: Re: get unused integer
- Next by Date: Re: In which cases/problems is Prolog faster than Java?
- Previous by thread: xemacs
- Next by thread: Re: In which cases/problems is Prolog faster than Java?
- Index(es):
Relevant Pages
|