lemmy.mlaga97.space
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
abhi9u@lemmy.world to Technology@lemmy.worldEnglish · 2 months ago

Hardware-Aware Coding: CPU Architecture Concepts Every Developer Should Know

blog.codingconfessions.com

external-link
message-square
6
fedilink
1
external-link

Hardware-Aware Coding: CPU Architecture Concepts Every Developer Should Know

blog.codingconfessions.com

abhi9u@lemmy.world to Technology@lemmy.worldEnglish · 2 months ago
message-square
6
fedilink
Write faster code by understanding how it flows through your CPU
alert-triangle
You must log in or register to comment.
  • ElPussyKangaroo@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    2 months ago

    What about Claude-Aware coding tho? /s

  • call_me_xale@lemmy.zip
    link
    fedilink
    English
    arrow-up
    0
    ·
    2 months ago

    Can we just not with the AI-generated illustrations?

  • pixeltree@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    0
    ·
    2 months ago

    TL:DR: minimize randomness, group variables by access frequency, and unroll loops if your compiler doesn’t do that already

    • call_me_xale@lemmy.zip
      link
      fedilink
      English
      arrow-up
      0
      ·
      2 months ago

      tl;dr tl;dr: use a modern compiler.

    • bejean@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      2 months ago

      Do any compilers NOT unroll loops in high optimization modes? I was under three impression this was usually unnecessary.

      • pixeltree@lemmy.blahaj.zone
        link
        fedilink
        English
        arrow-up
        0
        ·
        2 months ago

        No clue, I was just frustrated with how much useless extended metaphor was in the article and thought I’d save people some time

Technology@lemmy.world

technology@lemmy.world

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !technology@lemmy.world

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related news or articles.
  3. Be excellent to each other!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, this includes using AI responses and summaries. To ask if your bot can be added please contact a mod.
  9. Check for duplicates before posting, duplicates may be removed
  10. Accounts 7 days and younger will have their posts automatically removed.

Approved Bots


  • @L4s@lemmy.world
  • @autotldr@lemmings.world
  • @PipedLinkBot@feddit.rocks
  • @wikibot@lemmy.world
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 241 users / day
  • 1.75K users / week
  • 4.89K users / month
  • 13.2K users / 6 months
  • 0 local subscribers
  • 70K subscribers
  • 12.6K Posts
  • 399K Comments
  • Modlog
  • mods:
  • L3s@lemmy.world
  • enu@lemmy.world
  • Technopagan@lemmy.world
  • L4sBot@lemmy.world
  • L3s@hackingne.ws
  • L4s@hackingne.ws
  • BE: 0.19.5
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org