Tagged articles
34 articles
Page 1 of 1
IT Services Circle
IT Services Circle
Feb 20, 2026 · Backend Development

Go 1.26 Highlights: New new(expr) Syntax, Generic Self‑Reference, Compiler Optimizations & Experimental Features

The article provides a concise walkthrough of Go 1.26’s most impactful changes—including a streamlined new(expr) syntax for pointers, self‑referencing generics, deeper compiler escape analysis, explicit inline directives, experimental SIMD and secret‑handling packages, and a goroutine‑leak profiling tool—illustrated with ready‑to‑run code snippets and practical tips for immediate adoption.

Compiler OptimizationGenericsGo
0 likes · 8 min read
Go 1.26 Highlights: New new(expr) Syntax, Generic Self‑Reference, Compiler Optimizations & Experimental Features
AntTech
AntTech
Jan 14, 2026 · Artificial Intelligence

Boosting Secure AI: HAWK Accelerator and FHEFusion Compiler Break New Ground

This article highlights two cutting‑edge works from Ant Group’s research team—HAWK, a fixed‑word key decomposition switching accelerator that overcomes hardware challenges for FHE, and FHEFusion, a compiler framework that introduces operator fusion to dramatically speed CKKS‑based DNN inference—showcasing their designs, optimizations, and experimental gains.

Compiler OptimizationDNN inferenceFully Homomorphic Encryption
0 likes · 7 min read
Boosting Secure AI: HAWK Accelerator and FHEFusion Compiler Break New Ground
php Courses
php Courses
Sep 23, 2025 · Fundamentals

Unlock C++ Speed: Mastering -O2 and -O3 Compiler Optimizations

This article explains C++ compiler optimization levels, compares -O2 and -O3, provides practical usage examples and best‑practice guidelines, and demonstrates performance gains with benchmark code, helping developers choose the right optimization flag for development and release builds.

C++Compiler OptimizationO2
0 likes · 10 min read
Unlock C++ Speed: Mastering -O2 and -O3 Compiler Optimizations
Liangxu Linux
Liangxu Linux
May 26, 2025 · Fundamentals

Why the ‘volatile’ Keyword Saves Your Embedded C Code (And Common Misconceptions)

Understanding C’s volatile keyword is essential for embedded programming: it prevents compiler optimizations on variables that may change unexpectedly, such as hardware registers or signal‑handler flags, and clarifies common misconceptions about memory visibility, atomicity, and proper usage scenarios.

CCompiler Optimizationembedded programming
0 likes · 9 min read
Why the ‘volatile’ Keyword Saves Your Embedded C Code (And Common Misconceptions)
Kuaishou Tech
Kuaishou Tech
Dec 30, 2024 · Cloud Native

Kuaishou System Software Team: Architecture, Innovations, and Performance Optimizations

This article presents an overview of Kuaishou's system software team, detailing its core value, challenges, the "Four Horizontal Four Vertical" architecture, JVM innovations such as transparent coroutines and checkpointing, advanced compilation techniques, kernel isolation for cloud‑native workloads, and extensive performance‑boosting strategies that have dramatically improved resource utilization and stability.

Compiler OptimizationJVMKernel Isolation
0 likes · 15 min read
Kuaishou System Software Team: Architecture, Innovations, and Performance Optimizations
DataFunSummit
DataFunSummit
Nov 7, 2024 · Backend Development

Understanding LLVM Instruction Scheduling Algorithms and Topological Sorting

This article explains the importance of instruction scheduling for modern CPU pipelines, describes dependency types, distinguishes dynamic and static scheduling, outlines LLVM's multiple scheduling phases and algorithms, and introduces the underlying topological‑sort technique used to improve compiler performance.

Compiler OptimizationInstruction SchedulingLLVM
0 likes · 10 min read
Understanding LLVM Instruction Scheduling Algorithms and Topological Sorting
Architecture Development Notes
Architecture Development Notes
Aug 15, 2024 · Fundamentals

How Go’s Compiler Shrinks Binaries with Dead Code Elimination

This article explains Go’s dead code elimination (DCE) optimization, demonstrates it with sample code, shows how to inspect compiled binaries using go tool nm, and discusses factors that affect DCE such as code complexity, compiler flags, and reflection, helping developers reduce binary size.

Compiler OptimizationGobinary size
0 likes · 6 min read
How Go’s Compiler Shrinks Binaries with Dead Code Elimination
Open Source Linux
Open Source Linux
Jun 17, 2024 · Fundamentals

for(;;) vs while(1): Which Infinite Loop Is Faster in Embedded C?

This article compares the infinite‑loop constructs for(;;) and while(1) in C, examining compiler optimizations, performance measurements on microcontrollers, coding style guidelines, and industry standards to determine if one form offers any real advantage over the other.

C programmingCompiler OptimizationPerformance Testing
0 likes · 7 min read
for(;;) vs while(1): Which Infinite Loop Is Faster in Embedded C?
ITPUB
ITPUB
May 2, 2024 · Databases

Boost MySQL Performance 30‑50% with Profile‑Guided Optimization (PGO)

This article explains how Profile‑Guided Optimization (PGO) can increase MySQL throughput by 30‑50% without changing application code, detailing the required compilation steps, necessary CMake flags, and real‑world benchmark results that demonstrate the performance gains and their limitations.

CCompiler OptimizationPGO
0 likes · 10 min read
Boost MySQL Performance 30‑50% with Profile‑Guided Optimization (PGO)
Baidu Geek Talk
Baidu Geek Talk
Dec 4, 2023 · Mobile Development

Compiler Optimization

The article details Baidu APP’s comprehensive compiler‑optimization strategy, including GCC‑Oz size reduction, Swift‑Osize with whole‑module optimization, link‑time optimization, symbol stripping, dead‑code removal, asset catalog compression, minimizing C++ virtual functions, slimming third‑party SDKs, dropping unused ARM architectures, Xcode 14 binary‑size tweaks, and eliminating built‑in Swift libraries by raising the minimum iOS version.

Code OptimizationCompiler OptimizationLTO
0 likes · 16 min read
Compiler Optimization
Baidu App Technology
Baidu App Technology
Nov 16, 2023 · Mobile Development

How Baidu’s iOS App Cut 30 MB with Compiler and Architecture Optimizations

This article details Baidu APP’s iOS package‑size optimization series, focusing on compiler tweaks (GCC, Swift, LTO, symbol stripping, dead‑code removal, asset catalog settings, C++ virtual‑function reduction, third‑party SDK slimming), instruction‑set pruning, Xcode‑14 improvements, and Swift dynamic‑library handling, together with concrete Xcode configuration steps and measured size gains.

Compiler OptimizationLTOPackage Size Optimization
0 likes · 21 min read
How Baidu’s iOS App Cut 30 MB with Compiler and Architecture Optimizations
Liangxu Linux
Liangxu Linux
Nov 4, 2023 · Information Security

How Integer Overflows Threaten C Programs and How to Detect Them Safely

This article explains the difference between unsigned and signed integer overflow in C, shows how overflow can lead to buffer overflows and security breaches, illustrates common pitfalls with code examples, discusses compiler optimizations that remove overflow checks, and provides reliable techniques for detecting and preventing integer overflow.

C programmingCompiler OptimizationUndefined Behavior
0 likes · 15 min read
How Integer Overflows Threaten C Programs and How to Detect Them Safely
Huawei Cloud Developer Alliance
Huawei Cloud Developer Alliance
Jun 12, 2023 · Fundamentals

Boosting GaussDB Performance: Inside Huawei’s BiSheng Compiler Optimizations

The article explains how Huawei's BiSheng compiler enhances GaussDB performance through architecture‑level, module‑level, and function‑level optimizations such as inline expansion, instruction prefetch, auto‑vectorization, link‑time optimization, and feedback‑guided optimizations, and outlines future development plans.

BISHENGCompiler OptimizationGaussDB
0 likes · 8 min read
Boosting GaussDB Performance: Inside Huawei’s BiSheng Compiler Optimizations
ByteDance SYS Tech
ByteDance SYS Tech
Jun 9, 2023 · Backend Development

Why Strict Aliasing Matters: Deep Dive into LLVM TBAA and TypeSanitizer

This article explains the Strict Aliasing Rule, how compilers use Type‑Based Alias Analysis (TBAA) for optimization, demonstrates LLVM’s metadata‑based implementation, introduces the TypeSanitizer tool for detecting aliasing violations, and offers practical guidance to avoid common pitfalls in C/C++ code.

Compiler OptimizationLLVMsanitizer
0 likes · 33 min read
Why Strict Aliasing Matters: Deep Dive into LLVM TBAA and TypeSanitizer
Baidu App Technology
Baidu App Technology
Mar 10, 2023 · Mobile Development

How Baidu Cut Its iOS App Size by 50 MB: A Deep Dive into Package Optimization

This article examines why Baidu's super‑app needed a drastic reduction in its iOS package size, outlines the metrics that link bundle size to download conversion, compares the app‑size footprints of major domestic and overseas apps, and details the multi‑layered technical solutions—resource trimming, architecture safeguards, compiler tweaks, image compression, and code slimming—that together saved over 50 MB while preserving functionality.

Compiler OptimizationMobile DevelopmentResource Management
0 likes · 16 min read
How Baidu Cut Its iOS App Size by 50 MB: A Deep Dive into Package Optimization
ByteDance SYS Tech
ByteDance SYS Tech
Jan 6, 2023 · Fundamentals

How ByteDance Scaled Profile‑Guided Optimization to Boost CPU Efficiency

This article explains ByteDance's large‑scale adoption of profile‑guided optimization (PGO), covering its principles, instrumentation and sampling methods, the automated platform built for data collection and compilation, and the resulting performance gains across dozens of critical services.

ByteDanceCompiler OptimizationInstrumentation
0 likes · 12 min read
How ByteDance Scaled Profile‑Guided Optimization to Boost CPU Efficiency
Tencent Cloud Developer
Tencent Cloud Developer
Nov 2, 2022 · Fundamentals

C++ Performance Traps: Hidden Costs of Abstraction and Compiler Optimization Pitfalls

Modern C++ performance suffers when seemingly harmless abstractions—such as virtual functions, hidden copies, non‑trivial destructors, overused std::shared_ptr, type‑erasing wrappers, std::variant/optional, and std::async—prevent inlining and efficient memory use, while patterns like std::move on returns, hidden destructors in tail recursion, and branchy loops thwart NRVO, tail‑call, and auto‑vectorization optimizations.

C++Compiler OptimizationNRVO
0 likes · 16 min read
C++ Performance Traps: Hidden Costs of Abstraction and Compiler Optimization Pitfalls
Python Programming Learning Circle
Python Programming Learning Circle
Aug 15, 2022 · Fundamentals

Why Modern Programming Languages Have Dropped ++/-- Operators: A Design‑Philosophy Perspective

This article examines the historical origin of the ++ and -- operators, explains why they were introduced, demonstrates that modern compilers no longer gain performance from them, and argues that functional‑style design, iterator‑based loops, and operator‑overloading concerns have led many contemporary languages to remove or deprecate these operators.

CCompiler OptimizationIterators
0 likes · 25 min read
Why Modern Programming Languages Have Dropped ++/-- Operators: A Design‑Philosophy Perspective
DaTaobao Tech
DaTaobao Tech
Jul 6, 2022 · Fundamentals

TypeScript 4.8 Beta Release: Key Features and Enhancements

TypeScript 4.8 beta, released June 21 2022, adds Stage‑3 decorator groundwork, tighter strict‑null narrowing, more precise template‑literal inference, disables binding‑pattern inference, warns literal === comparisons, and boosts watch/incremental/build performance, while introducing breaking changes to lib.d.ts and JSDoc type imports.

Compiler OptimizationType InferenceType Narrowing
0 likes · 10 min read
TypeScript 4.8 Beta Release: Key Features and Enhancements
GrowingIO Tech Team
GrowingIO Tech Team
Mar 3, 2022 · Mobile Development

Unveiling iOS AutoreleasePool Changes: TLS Magic and Compiler Optimizations

This article explores the evolution of the iOS main.m AutoreleasePool since Xcode 11, explains how Thread‑Local Storage and compiler optimizations like tail‑call elimination affect object lifetimes, and demonstrates practical code examples and assembly insights for developers seeking deeper memory‑management understanding.

AutoreleasePoolCompiler OptimizationTail Call Elimination
0 likes · 14 min read
Unveiling iOS AutoreleasePool Changes: TLS Magic and Compiler Optimizations
21CTO
21CTO
Feb 25, 2022 · Fundamentals

Elon Musk on Error Messages, Rust, and Why C Still Rules on Specialized Hardware

Elon Musk discusses the importance of clear error messages, praises Rust's compiler advances, and argues that for peak performance on dedicated hardware, a custom‑compiled C solution remains essential, while his companies also rely on C++ and Python.

C languageCompiler OptimizationError Handling
0 likes · 2 min read
Elon Musk on Error Messages, Rust, and Why C Still Rules on Specialized Hardware
Tencent Cloud Developer
Tencent Cloud Developer
Feb 14, 2022 · Cloud Computing

Feedback‑Driven Compiler Optimizations for Cloud C/C++ Applications

The article shows how profiling‑driven compiler and OS techniques—such as sampling and instrumentation PGO, BOLT code layout, AutoFDO pipelines, basic‑block reordering, partial inlining, branch and function reordering—can alleviate instruction‑cache and front‑end stalls in large C/C++ cloud workloads, delivering up to 18 % performance gains.

C++Compiler OptimizationProfile Guided Optimization
0 likes · 16 min read
Feedback‑Driven Compiler Optimizations for Cloud C/C++ Applications
Architect's Tech Stack
Architect's Tech Stack
Nov 27, 2020 · Backend Development

When Does Java Use StringBuilder for String Concatenation?

This article investigates Java's string concatenation behavior, demonstrating through two examples why some concatenations invoke StringBuilder while others are optimized by the compiler, and explains the underlying bytecode differences revealed by decompiling with javap.

Compiler OptimizationJavaJavap
0 likes · 3 min read
When Does Java Use StringBuilder for String Concatenation?
Big Data Technology & Architecture
Big Data Technology & Architecture
Oct 25, 2020 · Backend Development

Understanding Value Numbering and Global Value Numbering in JVM C1 Compiler Optimization

This article explains how the JVM C1 compiler uses value numbering and global value numbering to merge identical computations, detailing hash calculation, ValueMapArray structures, control‑flow analysis, kill scenarios, and code transformation techniques for effective optimization.

Compiler OptimizationData Flow AnalysisGlobal Value Numbering
0 likes · 12 min read
Understanding Value Numbering and Global Value Numbering in JVM C1 Compiler Optimization
Programmer DD
Programmer DD
Jul 26, 2020 · Backend Development

When Does Java Use StringBuilder for String Concatenation? A Deep Dive

This article examines why identical-looking string concatenations in Java sometimes use StringBuilder and other times are optimized away, showing bytecode differences, explaining compiler behavior, and summarizing the conditions that affect reference equality.

Compiler OptimizationJVMString concatenation
0 likes · 4 min read
When Does Java Use StringBuilder for String Concatenation? A Deep Dive
21CTO
21CTO
Apr 5, 2020 · Fundamentals

Why Code Optimization Can Backfire: 5 Practical Lessons from a Real‑World SAP Project

The article recounts a real SAP project where a stray 20‑second wait statement crippled performance, then outlines five actionable principles—including setting clear goals, using profilers, enabling compiler optimizations, targeted code adjustments, and mandatory code reviews—to ensure optimization improves speed without sacrificing quality.

Code OptimizationCode reviewCompiler Optimization
0 likes · 11 min read
Why Code Optimization Can Backfire: 5 Practical Lessons from a Real‑World SAP Project
Sohu Tech Products
Sohu Tech Products
Jul 17, 2019 · Mobile Development

Understanding Swift Object Creation, Method Dispatch, and Memory Layout – A C‑Style Pseudocode Exploration

This article explains how Swift objects are created and destroyed, how method calls are implemented compared with Objective‑C, the memory layout of Swift classes, the role of virtual tables, the impact of compiler optimizations, and the feasibility of runtime method replacement, illustrated with extensive C‑style pseudocode examples.

Compiler OptimizationMethod DispatchRuntime
0 likes · 34 min read
Understanding Swift Object Creation, Method Dispatch, and Memory Layout – A C‑Style Pseudocode Exploration