Neural Nets vs. Cellular Automata (nets-vs-automata.net)
34 points by todsacerdoti 2d ago 1 comments
Reverse Engineering All the Raspberry Pis (jeffgeerling.com)
77 points by speckx 11h ago 13 comments
Ask HN: Why hasn't x86 caught up with Apple M series?
108 points by stephenheron 9h ago 121 comments
Extending the C/C++ Memory Model with Inline Assembly [video]
2 matt_d 1 8/26/2025, 2:14:40 AM youtube.com ↗
> Programs written in C/C++ often include inline assembly: a snippet of architecture-specific assembly code used to access low-level functionalities that are impossible or expensive to simulate in the source language. Although inline assembly is widely used, its semantics has not yet been formally studied.
> In this paper, we overcome this deficiency by investigating the effect of inline assembly to the consistency semantics of C/C++ programs. We propose the first memory model of the C++ Programming Language with support for inline assembly for Intel’s x86 including non-temporal stores and store fences. We argue that previous provably correct compiler optimizations and correct compiler mappings should remain correct under such an extended model and we prove that this requirement is met by our proposed model.
Paper: https://doi.org/10.1145/3689749
Slides: https://devilhena-paulo.github.io/files/inline-x86-asm-slide...