3 links tagged with all of: programming + performance + best-practices
Click any tag below to further narrow down your results
Links
The article shares practical strategies for generating C code from higher-level languages, particularly in compiler design. It covers topics like using static inline functions for data abstraction, avoiding implicit integer conversions, and manual register allocation for better performance. The author also discusses the limitations of generating C compared to other languages like Rust.
The article discusses the importance of string length in programming and data handling, highlighting potential pitfalls associated with improper management of string lengths. It emphasizes best practices for ensuring optimal performance and security in applications that rely on string manipulations.
The article discusses two programming principles: "push ifs up" and "push fors down." By moving conditional checks to the caller, complexity is reduced and control flow is centralized, leading to fewer bugs. Conversely, processing operations on batches instead of individual items enhances performance and expressiveness in code execution.