Path: csiph.com!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: John Ames Newsgroups: comp.os.linux.misc Subject: Re: Hint For GNU/Linux Progrmmers Date: Fri, 12 Sep 2025 10:11:03 -0700 Organization: A noiseless patient Spider Lines: 18 Message-ID: <20250912101103.00007f46@gmail.com> References: <109uoqs$2n3c4$1@dont-email.me> <109vj1l$2vup8$6@dont-email.me> <186481985309dd34$12201$2237616$802601b3@news.usenetexpress.com> <10a1bmp$3i30k$10@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Injection-Date: Fri, 12 Sep 2025 17:11:07 +0000 (UTC) Injection-Info: dont-email.me; posting-host="a27903e20ec02ac42e3c5da0c580ad7d"; logging-data="3825841"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/feq4lzW1mtiI0YmsW4aj2C/z7ILHLkcM=" Cancel-Lock: sha1:FrB8HYlHpPM+p3jp00xdezw1wjA= X-Newsreader: Claws Mail 4.3.0 (GTK 3.24.42; x86_64-w64-mingw32) Xref: csiph.com comp.os.linux.misc:73980 On Fri, 12 Sep 2025 15:45:45 +0100 The Natural Philosopher wrote: > > The ATLAS program will automatically tune itself, using compiler > > options, for the best performance on a particular machine. > > How does it know what machine is the target? Presumably it targets the machine on which it's running. Reminds me a bit of one of the few genuinely smart things MS's .NET framework does - part of the install/update process involves it auto-profiling/tuning its core VM interpreter/library in situ so it can accurately benchmark itself. That only affects raw VM performance (a bad algorithm running on top of a fast VM is still gonna suck,) and it'd be more involved to do something comparable with a native-code application (dynamic linking might save you the trouble of a full recompile, but it'd still be non- trivial,) but it *is* a nice touch.