|
You are here |
cprimozic.net | ||
| | | | |
blog.m-ou.se
|
|
| | | | | The fmt::Arguments type is one of my favorite types in the Rust standard library. It's not particularly amazing, but it is a great building block that is indirectly used in nearly every Rust program. This type, together with the format_args!() macro, is the power behind print!(), format!(), log::info!() and many more text formatting macros, both from the standard library and community crates. In this blog post, we learn how it works, how it is implemented today, and how that might change in the future. | |
| | | | |
surma.dev
|
|
| | | | | What follows is a brain dump of everything I know about compiling Rust to WebAssembly. Enjoy. | |
| | | | |
www.da.vidbuchanan.co.uk
|
|
| | | | | [AI summary] The blog post discusses the implementation of Conway's Game of Life using Python with optimized techniques such as SWAR (Shift and Arithmetic Word) and parallel processing. The author leverages Python's native integer operations for SIMD-like acceleration, eliminating the need for explicit SIMD instructions. They also use SDL2 for rendering and achieve high frame rates through parallel execution across multiple processes. The post highlights performance gains, comparing the optimized approach with naive implementations and exploring potential further optimizations using lower-level languages or GPU acceleration. | |
| | | | |
blog.stephenmarz.com
|
|
| | | [AI summary] The text provides an in-depth explanation of how C programs are compiled into assembly and machine code, focusing on various aspects such as data types, memory sections, control structures, and the role of the compiler in making decisions about load/store operations and shifts. It covers topics like data type conversions, padding in structures, global variables, and branch instructions for conditions and loops. The text also mentions the importance of understanding assembly for learning how compilers work and the use of tools like objdump for analyzing compiled code. | ||