Contiguous memory and finding segfaults in Cython
Explains the performance benefits of using contiguous memory in Cython for scientific computing and discusses debugging segfaults in low-level code.
Explains the performance benefits of using contiguous memory in Cython for scientific computing and discusses debugging segfaults in low-level code.
A technical blog post exploring the behavior of slices in Go, focusing on length, capacity, and pointer mechanics.
A developer's notes on learning Go pointers, covering their purpose, connection to garbage collection, encapsulation, and immutability.
A systematic guide to Swift's complex pointer types, explaining their purpose, usage, and the associated memory safety considerations.
Explains that assigning large slices in Go is not more expensive than small ones, as all slices are the same size (three machine words).
A retrospective on KnightOS, a Unix-like operating system written in assembly for TI z80 calculators, focusing on its unique constraints and design.
Explains four main reasons iOS apps crash, including CPU issues, iOS stability, Swift runtime, and developer protections.
Explains memory unsafety in programming languages, its security risks (out-of-bounds reads/writes, use-after-free), and contrasts unsafe languages like C/C++ with safe ones.
A conference talk exploring .NET memory management concepts, the Garbage Collector, hidden allocations, and profiling techniques.
Explains how to use lazy properties in Swift to delay object creation, improve performance, and avoid optionals, with practical code examples.
Explores subtle and rarely discussed unbreakable reference cycles in Swift's memory management, detailing how they cause leaks and offering advanced insights.
A talk recap on .NET's Garbage Collector, memory management concepts, hidden allocations, and performance profiling.
Explains virtual memory, MMU, page tables, and how processes use memory mapping and swap space.
Explores a Swift compiler bug where re-binding 'self' in a weak closure breaks Xcode debugging, with historical context on weak/strong self patterns.
A developer shares advanced debugging techniques for tracking retain/release crashes in Objective-C, including custom GCD wrappers and queue tracking.
An introduction to fundamental data types, variables, memory addresses, and pointers in the C programming language.
Compares assignment operations and parameter passing in C (copying) vs. CPython (binding), focusing on mutable/immutable data.
Explains how data is represented as objects in CPython, covering types, identity, binding, and mutability.
Explains the implementation details and changes to weak references in Swift 4, comparing the old and new runtime behavior.
Explains Swift's Unmanaged struct for converting Swift object references to/from raw pointers when working with C APIs.