Re: Supercompiled Perl: HP's Dynamo Project
[email protected] (Paris Sinclair)
| Newsgroups | perl.ai |
|---|---|
| Message-ID | <Pine.LNX.4.33.0108101832360.2007-100000@c1694868-a.eugene1.or.home.com> |
On Fri, 10 Aug 2001, Rick Rankin wrote: > Dynamo does not depend on any special programming language, compiler, > operating system or hardware support. The program binary is not > instrumented and is left untouched during Dynamo's operation. Dynamo > observes the program's behavior through interpretation to dynamically > select hot instruction traces from the running program. The hot traces > are optimized using low-overhead optimization techniques and emitted > into a software code cache. Subsequent instances of these traces cause > the cached version to be executed, resulting in a performance boost. > > Contrary to intuition, we demonstrate that it is possible to use a > piece of software to improve the performance of a native, statically > optimized program binary, while it is executing. Dynamo not only > speeds up real application programs, its performance improvement is > often quite significant. For example, the performance of many +O2 > optimized SPECint95 binaries running under Dynamo is comparable to the > performance of their +O4 optimized version running without Dynamo." > > Transparent Dynamic Optimization;Vasanth Bala, Evelyn Duesterwald, Sanjeev > Banerjia;HP Laboratories Cambridge;June, 1999 So then, I think it is worth asking, can AI in Perl be used to speed up this sort of optimization? I would be surprised if the gains are larger than the losses. If that is the case, then it is clearly a dead end from the perspective of Perl AI, excepting that anything that speeds up perl speeds up Perl. -- Paris