Frankenwine: Multiple personas in a Wine process
Explores creating a single binary that behaves as a native Windows program or a Linux program under Wine by detecting the runtime environment and using direct syscalls.
Chris Wellons writes deep, hands-on articles about systems programming, compilers, C, WebAssembly, and low-level software design with a strong focus on performance and correctness.
8 articles from this blog
Explores creating a single binary that behaves as a native Windows program or a Linux program under Wine by detecting the runtime environment and using direct syscalls.
Explores using WebAssembly (Wasm) to extend Python, enabling architecture-independent, high-performance extensions without a native toolchain.
A technical guide exploring advanced linked list techniques in C, including memory allocation, traversal, and performance optimization.
Explores a technique for compiling Unix 'find' command expressions into bytecode for efficiency, contrasting with existing tree-walk interpreters.
A technical article exploring how to create closures in C to add a context pointer to Win32 window procedures, bypassing the standard four-parameter limit.
Explores integrating C++ objects with non-trivial destructors into arena allocators, maintaining RAII and exception safety.
Explores C++ arena allocation intricacies, lifetime semantics, and corrections to common memory management patterns, referencing C++20 changes.
A technical article describing a solution for sorting hierarchical data fields using string interning in C, focusing on maintaining original order while grouping nested structures.