7 comments

  • egl2020 4 hours ago

    Article title should be "Efficient C++ Programming for Modern 64-bit CPUs...".

    • Nevermark 6 minutes ago

      A CPU implementing C++ as a microarchitecture…? Finally, uncontrovertible proof of the prophesy. We really are living in a Cthulhu nightmare.

      Simulation theory is dead.

    • avadodin 6 minutes ago

      That title got me:

      Modern C++ CPUs as in LISP CPUs or as in Verilog CPUs?

    • zombot 4 hours ago

      Came here to say exactly that.

  • reinitctxoffset 2 hours ago

    If people are interested in this stuff, this is the house style guide that I've ended up with in mid 2026, its great-great-great grandparents were at Google, which informed Greg Badros and Mark Rabkin and Andrei Alexandrescu when they did the one at FB, which informed a bunch of trading work, which informed a bunch of GPU work.

    It's opinionated but it has served me well.

    https://gist.github.com/b7r6/5dde648f5dc1dea1e9039f2211f5d40...

    • rramadass an hour ago

      This is Excellent! Thanks for sharing.

      First off, i highly suggest that you expand this into a full-blown book. This could become a successor to Fedor Pikus' "The Art of Writing Efficient Programs" for the Agentic era.

      I really like that you are using Lean4 for parts of code generation, tips for Agentic coding etc. which are all needed today. I myself have been thinking on these lines i.e. using formal methods for specification and verification so that agent-generated code can be "correct-by-construction" and efficient. Your write-up is the first i have seen which tries to provide the overall picture.

  • zombot 4 hours ago

    This looks like something that every serious C++ programmer should be reading.