POV-Ray : Newsgroups : povray.off-topic : Sometimes, Haskell wins : Re: Sometimes, Haskell wins Server Time
6 Sep 2024 23:23:43 EDT (-0400)
  Re: Sometimes, Haskell wins  
From: Darren New
Date: 22 Sep 2008 18:43:49
Message: <48d81fa5$1@news.povray.org>
nemesis wrote:
> those are still highly dynamic languages where code optimizations
> through type analysis is very much impossible.

It's not impossible. It just hasn't been applied very much to those 
languages yet. You won't get the optimization that Haskell can get, but 
you can get much better than people currently get. The trick is to use 
run-time information to improve your run-time. Build a table at the 
dynamic dispatch sites that run often and cache the lookup results, for 
example. There are a number of recent (last year or two, up to next 
year) techniques that do a significantly good job, but I can't find the 
original article that discussed lots of the recent cutting-edge advances.

One such technique is
http://www.ics.uci.edu/~franz/Site/pubs-pdf/ICS-TR-06-16.pdf

-- 
Darren New / San Diego, CA, USA (PST)


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.