Article View: comp.lang.misc
Article #6175Re: Clever programming tricks wanted
From: Daniel B Hankins
Date: Sat, 14 Jan 1989 01:15
Date: Sat, 14 Jan 1989 01:15
13 lines
800 bytes
800 bytes
Re a 'superoptimizer' to optimize a function to the shortest sequence of
machine instructions:
This is fairly simple. Construct a genetic algorithm in which the
survival function is:
code length / sum-of-squares distance from real function
The genetic string itself would of course be the machine code. This
should come up with a very good answer quite rapidly.
Dan Hankins
Technical Details
Message-ID:
<13522@cup.portal.com>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!portal!cup.portal.com!dan-hankinsReferences:
<4061@hubcap.UUCP> <47380@yale-celray.yale.UUCP> <24033@amdcad.AMD.COM>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!portal!cup.portal.com!dan-hankins From: dan-hankins@cup.portal.com (Daniel B Hankins) Newsgroups: comp.lang.misc Subject: Re: Clever programming tricks wanted Message-ID: <13522@cup.portal.com> Date: 14 Jan 89 01:15:40 GMT References: <4061@hubcap.UUCP> <47380@yale-celray.yale.UUCP> <24033@amdcad.AMD.COM> Organization: The Portal System (TM) Lines: 13