Path: csiph.com!goblin3!goblin.stu.neva.ru!news.misty.com!news.iecc.com!.POSTED.news.iecc.com!nerds-end From: "Rick C. Hodgin" Newsgroups: comp.compilers Subject: Optimization techniques Date: Wed, 17 Apr 2019 09:42:21 -0400 (EDT) Organization: Compilers Central Lines: 16 Sender: news@iecc.com Approved: comp.compilers@iecc.com Message-ID: <19-04-004@comp.compilers> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970"; logging-data="94806"; mail-complaints-to="abuse@iecc.com" Keywords: question, optimize Posted-Date: 17 Apr 2019 09:42:21 EDT X-submission-address: compilers@iecc.com X-moderator-address: compilers-request@iecc.com X-FAQ-and-archives: http://compilers.iecc.com Xref: csiph.com comp.compilers:2188 Are there resources someone can point me to for learning more about time-honored, long-established, safely applied, optimization techniques for a C/C++ like language? I'm walking the abstract syntax tree and am able to find many kinds of optimizations, but I would like to learn some theory or pitfalls of various types of optimizations applied. Thank you in advance. -- Rick C. Hodgin [I'd think this would be in all the usual textbooks. The wikipedia article on Optimizing Compiler has a fairly good discussion of them. -John]