Skip to content

Truth in Software

Common Code, Coding Conundrums, Creative Cures, Computing Craft

Tag: compiler optimization

What is code hoisting?

Ken Gregg August 1, 2019January 29, 2021

Code hoisting is an optimization technique that moves code from inside a loop to outside of the loop, if the code is not dependent on being inside the loop (i.e., the code moved is loop-invariant). If your compiler doesn’t have an …

Read more
Code Optimization

Loop unrolling as a symptom of premature optimization

Ken Gregg July 4, 2019January 29, 2021

I was asked a question recently that went something like this: “If a for loop is faster when it’s unrolled, why does my boss always want me to make my code shorter by using for loops, when my way (loop …

Read more
Code Optimization

Are compilers really better than human programmers at optimizing code?

Ken Gregg February 2, 2019January 29, 2021

The choice of the most appropriate and efficient algorithm is the most important optimization there is. And it needs to be implemented correctly, of course. A compiler can’t do this for you. It requires a human. And most of the …

Read more
Code Optimization

Links

  • Log in
  • Register
  • Entries RSS
  • Comments RSS
  • Blog Home
  • Bytellect LLC Home
  • Recommended Reading
  • Free Developer Resources

Categories

  • Bytellect LLC (4)
  • Computing History (2)
  • Operating Systems (2)
    • Windows (1)
  • Software Development (61)
    • .NET Framework (1)
    • Best Practice (10)
      • Code Reviews (1)
      • Maintainability (3)
      • Program Organization (2)
    • C and C++ Languages (9)
    • Code Optimization (3)
    • Data Structures and Algorithms (2)
    • Programming Languages (5)
    • Programming Paradigms (1)
      • Object-Oriented Programming (1)
    • Project Management (2)
    • Software Testing (2)
    • The Business of Software (3)
      • Career Advice for Software Engineers (2)
    • The C Programming Language (8)
    • The C++ Programming Language (7)
    • Visual Studio (3)
    • Windows Programming (1)
  • Vintage Computing (1)
    • TRS-80 (1)

Archives

Recommended Reading





More Recommended Reading

Bytellect LLC is a participant in the Amazon Associates Program, and may earn commissions from qualifying purchases at Amazon.com.


Tags

C++C programming languagelanguage featurecode maintainabilitycareer developmentcode readabilityThe C# Programming Languageportabilitycareer advicecoding standardsreadabilitysource code portabilityvisual studiocompiler optimizationsoftware maintenancelow-level languageprogrammingC99 standardBoolean data typekeyword
More Tags Less Tags
Bytellect LLC Logo

Terms of Use  |  Privacy Policy  |  Cookie Policy

Copyright © 2017- Bytellect LLC.   All rights reserved.

Copyright © 2021 Truth in Software.
Powered by WordPress. | Theme: colorskin by Dimitrakopoulos.