Explore >> Select a destination


You are here

dgraph.io
| | rigtorp.se
5.7 parsecs away

Travel
| | This is a short guide describing the latency implications of the virtual memory abstraction.
| | stefansf.de
5.7 parsecs away

Travel
| | [AI summary] The provided text discusses the misuse of the `volatile` keyword in C programming and its inability to address concurrency and memory ordering issues. It explains that `volatile` ensures that compiler optimizations do not remove accesses to variables, but it does not guarantee memory visibility or prevent hardware reordering. The text highlights that `volatile` is only suitable for specific use cases like memory-mapped I/O, and that for thread-safe operations, atomic types and memory barriers are necessary. It also covers examples of how `volatile` can lead to incorrect behavior in multi-threaded programs and how C11's memory model and atomic operations provide a more robust solution.
| | blog.royalsloth.eu
6.0 parsecs away

Travel
| | [AI summary] The article discusses the limitations of compilers in optimizing code and highlights the importance of understanding memory and CPU performance. It argues that modern programming languages are not optimized for current hardware, leading to inefficiencies. The author demonstrates that data-oriented programming can significantly improve performance by reducing memory access and leveraging CPU cache. However, object-oriented approaches are still popular due to their simplicity and historical influence, despite their performance drawbacks. The article also touches on other factors like memory bandwidth, disk I/O, and the importance of data layout for performance.
| | crescentro.se
31.6 parsecs away

Travel
| Exploring obvious and controversial usages of the infamous unsafe keyword, and how can we iterate on it.