Skip to content
0
  • Home
  • Piero Bosio
  • Blog
  • World
  • Fediverso
  • News
  • Categories
  • Old Web Site
  • Recent
  • Popular
  • Tags
  • Users
  • Home
  • Piero Bosio
  • Blog
  • World
  • Fediverso
  • News
  • Categories
  • Old Web Site
  • Recent
  • Popular
  • Tags
  • Users
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Piero Bosio Social Web Site Personale Logo Fediverso

Social Forum federato con il resto del mondo. Non contano le istanze, contano le persone
mattgodbolt@hachyderm.ioundefined

matt godbolt

@mattgodbolt@hachyderm.io
About
Posts
3
Topics
3
Shares
0
Groups
0
Followers
0
Following
0

View Original

Posts

Recent Best Controversial

  • Day 1 of Advent of Compiler Optimisations!
    mattgodbolt@hachyderm.ioundefined mattgodbolt@hachyderm.io

    Day 1 of Advent of Compiler Optimisations!

    Why do compilers love `xor eax, eax` for zeroing registers? It's brilliant: saves bytes compared to `mov eax, 0`, AND x86 CPUs recognise this "zeroing idiom" early in the pipeline—breaking register dependencies and removing it from execution entirely. Even better: writing to `eax` zeroes the top 32 bits of `rax` for free, handling 64-bit longs in one instruction.

    Read more: https://xania.org/202512/01-xor-eax-eax
    Watch: https://youtu.be/eLjZ48gqbyg

    #AoCO2025

    Uncategorized aoco2025

  • How exactly do you get code onto a computer?
    mattgodbolt@hachyderm.ioundefined mattgodbolt@hachyderm.io

    How exactly do you get code onto a computer? Like, the machine code? Surely you need a program to assemble it...but if you don't have a computer yet, how do you start the whole process!?

    https://youtu.be/Pu7LvnxV6N0

    One offhand remark in the middle of this video stole 4 days of work from me :-)

    See if you can guess which bit nerd-sniped me!

    Uncategorized

  • My #CppCon2025 talk is up: C++: Some Assembly RequiredI talk a out the importance of assembly for C++, hopefully in a surprising and informative way.
    mattgodbolt@hachyderm.ioundefined mattgodbolt@hachyderm.io

    My #CppCon2025 talk is up: C++: Some Assembly Required

    I talk a out the importance of assembly for C++, hopefully in a surprising and informative way. There will be embarrassing family photos along the way...

    Check it out: https://youtu.be/zoYT7R94S3c

    Uncategorized cppcon2025
  • 1 / 1
  • Login

  • Login or register to search.
  • First post
    Last post