This is the mail archive of the
kawa@sources.redhat.com
mailing list for the Kawa project.
Re: Is kawa good for....?
- To: Chris <chris at bitmead dot com>
- Subject: Re: Is kawa good for....?
- From: Per Bothner <per at bothner dot com>
- Date: 06 Sep 2000 11:21:29 -0700
- Cc: "kawa at sourceware dot cygnus dot com" <kawa at sourceware dot cygnus dot com>
- References: <39B4E862.861830A1@bitmead.com>
Chris <chris@bitmead.com> writes:
> Would kawa be suitable for mild number crunching apps? i.e. Various
> analysis of financial and stock market data? I don't expect it to beat
> fortran or anything, but is half decent in performance for an app like
> this?
Kawa's arithmetic primitives are reasonably well optimized, I believe.
However, currently the compiler doesn't really do any compile-time
analysis or optimization of Scheme arithmetic procedures, so you
will get a lot of function call overhead.
So I suspect Kawa, as currently implemented, may disappoint you.
But the best way to find out out is to experiment. If you're
willing-able to write the "inner loops" in Java, that may be be
worth considering.
--
--Per Bothner
per@bothner.com http://www.bothner.com/~per/