Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6206549
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T05:28:14+00:00 2026-05-24T05:28:14+00:00

I would like to learn more about low level code optimization, and how to

  • 0

I would like to learn more about low level code optimization, and how to take advantage of the underlying machine architecture. I am looking for good pointers on where to read about this topic.

More details:

I am interested in optimization in the context of scientific computing (which is a lot of number crunching but not only) in low level languages such as C/C++. I am in particular interested in optimization methods that are not obvious unless one has a good understanding of how the machine works (which I don’t—yet).

For example, it’s clear that a better algorithm is faster, without knowing anything about the machine it’s run on. It’s not at all obvious that it matters if one loops through the columns or the rows of a matrix first. (It’s better to loop through the matrix so that elements that are stored at adjacent locations are read successively.)

Basic advice on the topic or pointers to articles are most welcome.

Answers

Got answers with lots of great pointers, a lot more than I’ll ever have time to read. Here’s a list of all of them:

  • The software optimization cookbook from Intel (book)
  • What every programmer should know about memory (pdf book)
  • Write Great Code, Volume 2: Thinking Low-Level, Writing High-Level (book)
  • Software optimization resources by Agner Fog (five detailed pdf manuals)

I’ll need a bit of skim time to decide which one to use (not having time for all).

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T05:28:15+00:00Added an answer on May 24, 2026 at 5:28 am

    Drepper’s What Every Programmer Should Know About Memory [pdf] is a good reference to one aspect of low-level optimisation.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like to learn more about C++0x. What are some good references and
I would like to know where I can go and learn more about client
For debugging my code (low-level problem) I would like to use different levels of
I'm a totally blind individual who would like to learn more of the theory
I would like to learn about games (strategy) algorithms especially about how do enemies
I am looking to implement and learn more about the ASP.NET GridView control. However,
I would like to learn the best practices to employ when creating a database
I would like to learn the best practices in reloading the application state, such
I would like to learn how to use NUnit. I learn best by reading
I would like to learn how setup prefix routing like there is in cakephp

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.