Article View: comp.lang.prolog
Article #3589Re: Is ICON higher level than Prolog?
From: Saumya Debray
Date: Tue, 23 Aug 1988 01:46
Date: Tue, 23 Aug 1988 01:46
25 lines
1649 bytes
1649 bytes
In article <260@quintus.UUCP>, ok@quintus writes:
> Version 5 of ICON (the one described in the book) had two implementations
> sharing a common front end: an "abstract instruction" version, and one
> which produced native code. However, the book says that "a difference of
> 5% to 10%" in speed between "compiled" and "interpreted" versions was
> typical. So the ICON group decided that it wasn't worth maintaining the
> native-code version any longer.
>
> What I'd like to understand is why the difference was so slight.
I don't know as much about Icon implementation as I should, but my
impression (someone from the Icon project should correct me if I'm
wrong) is that in the old implementation, "backtrack points" were
created most of the time, even in contexts where they weren't really
necessary. Given current wisdom about the cost of creating backtrack
points, this overhead might account for the relatively small speedup
obtained in going to native code. Some recent research in Icon has,
in fact, been aimed at eliminating some of this redundant backtrack
point creation through static analysis.
--
Saumya Debray CS Department, University of Arizona, Tucson
internet: debray@arizona.edu
uucp: arizona!debray
Technical Details
Message-ID:
<6754@megaron.arizona.edu>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!lll-tis!ames!mailrus!uwmcsd1!ig!arizona!debrayReferences:
<260@quintus.UUCP>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!lll-tis!ames!mailrus!uwmcsd1!ig!arizona!debray From: debray@arizona.edu (Saumya Debray) Newsgroups: comp.lang.prolog,comp.lang.misc Subject: Re: Is ICON higher level than Prolog? Message-ID: <6754@megaron.arizona.edu> Date: 23 Aug 88 01:46:53 GMT References: <260@quintus.UUCP> Organization: U of Arizona CS Dept, Tucson Lines: 24