Tagged articles
SIMD
56 articles · Page 1 of 1

TonyBaiOct 22, 2026 · Backend Development
This article explores Go's new experimental SIMD packages (simd/archsimd and simd), explaining SIMD hardware concepts, vector register operations, common SIMD patterns like broadcast and fused multiply-add, compiler intrinsic mapping, and demonstrates a dot product implementation achieving 9x speedup over scalar code.
AVX2FMAGo
0 likes · 31 min read


TonyBaiOct 19, 2026 · Backend Development
Go security team reports monthly vulnerability submissions jumped from 5–10 to 100–200, mostly false positives from AI tools; they respond with re-prioritization, LLM-assisted triage, and shift-left CI checks while refusing to adopt Linux's full-disclosure stance.
AIGoPost-Quantum Cryptography
0 likes · 18 min read


TonyBaiOct 11, 2026 · Backend Development
Praneos Labs benchmarked 26 Go versions (1.2 to 1.27) on identical hardware, revealing three performance phases: compiler overhaul (1.5–1.7), a seven-year throughput plateau (1.8–1.23) focused on GC latency, and recent runtime optimizations (1.24–1.27) delivering an 11.5% speedup over 1.23, with map-heavy and allocation-heavy code benefiting most while numeric loops stagnated since 1.7.
CompilerGCGo
0 likes · 20 min read

This article explains how reading compiler-generated assembly helps C++ developers verify optimizations like SIMD vectorization, function inlining, and memory layout efficiency, using tools like perf and Compiler Explorer to replace guesswork with evidence-based performance tuning.
AoS vs SoAC++Godbolt
0 likes · 10 min read


TonyBaiSep 11, 2026 · Backend Development
Debian Code Search replaced its 7-year-old C TurboPFor library with pure Go using Go 1.26/1.27's experimental simd/archsimd package, achieving 3x speedup via AVX2 vertical layout and a further 2x via AI-suggested AVX-512 positional popcount (GF2P8AFFINEQB + VPOPCNTB), reaching 7 IPC near hardware limits.
AVX-512AVX2Go
0 likes · 30 min read

The article walks through four carefully designed JMH benchmarks—method inlining, SIMD vectorization, lock elimination, and a Netty AsciiString regression—to show how JVM JIT optimizations appear in assembly, explain the performance impact (up to 1500×), and demonstrate how to diagnose and fix real‑world issues using assembly analysis.
JITJMHJava
0 likes · 19 min read


21CTOAug 20, 2026 · Fundamentals
Go 1.27, released on August 20, introduces generic methods, a revamped JSON v2 library, up to 30% faster small‑object memory allocation, a universally available goroutine‑leak profile, new cryptographic packages, a built‑in UUID library, experimental SIMD types, and numerous standard‑library and toolchain enhancements.
GenericsGoJSON
0 likes · 7 min read


TonyBaiJul 16, 2026 · Backend Development
The article dissects the Go 1.28 planning notes, detailing upcoming compiler memory‑free mechanisms, pre‑compiled Cgo support, revived generic containers, SIMD extensions, Wasm stack‑switching, structured struct tags, sharded counters, and GC scalability work, while explaining the motivations, trade‑offs, and open questions behind each proposal.
CompilerGoGo 1.28
0 likes · 25 min read

A naive 1024×1024 matrix transpose can be ten times slower than an optimized version because the CPU sees memory as a linear address space, and row‑major layout combined with cache‑line granularity makes column‑wise accesses incur massive cache misses, which can be eliminated with blocking, prefetching and SIMD techniques.
CPU architecturePerformance TuningSIMD
0 likes · 19 min read

DongSQL V1.2.0 introduces a suite of kernel upgrades—including group‑commit unicast, semi‑sync replication tweaks, plan‑cache, single‑point query enhancements, massive‑table fast startup, SIMD acceleration, hotspot‑row updates and high‑volume testing support—delivering significant performance and stability improvements across diverse retail workloads.
Database PerformanceDongSQLHigh‑Volume Testing
0 likes · 24 min read

The article provides a detailed technical analysis of Huawei's Ascend 950 NPU series, covering its one‑chip dual‑structure for training and inference, SIMD/SIMT dual‑mode compute, ultra‑fine memory granularity, PD separation, native FP4 support, a high‑bandwidth 2.0 interconnect, and a fully self‑developed yet CUDA‑compatible ecosystem.
AI acceleratorAscend 950FP4
0 likes · 10 min read

Go 1.27 will turn on the simd/archsimd package by default on amd64, while a new portable simd API proposal adds architecture‑independent vector types and operations, offering a two‑layer design that balances low‑level performance with Go’s emphasis on readability and portability.
GoSIMDarchsimd
0 likes · 11 min read

The article explains SIMD fundamentals, traces the evolution of x86 instruction sets, compares Intel and AMD implementations, examines the controversy around AVX‑512, and shows how Rust leverages SIMD to accelerate critical paths in high‑frequency quantitative trading, offering concrete code examples and performance tips.
AVX-512CPU optimizationRust
0 likes · 19 min read


21CTOMar 31, 2026 · Fundamentals
The C++26 standard, now frozen and slated for release in 2026, introduces static reflection, contracts, Safe C++ configurations, flat containers, SIMD and async models, plus an #embed directive, dramatically enhancing safety, performance, and developer ergonomics for modern system programming.
C++26ContractsLanguage Evolution
0 likes · 4 min read

The article dissects why Go’s standard regexp package lags behind Python and other languages, tracing the slowdown to a pure‑Go implementation that avoids CGO, the choice of a Thompson‑NFA engine for safety, heavy UTF‑8 rune decoding, memory‑intensive NFA simulation, and shows how community projects like coregex reclaim performance while preserving Go’s safety guarantees.
GoSIMDcgo
0 likes · 13 min read

This article explains the motivation behind adding SIMD support to Go, describes the two‑level design of the experimental simd/archsimd package, provides step‑by‑step configuration and code examples for common data‑processing tasks, and presents benchmark results that show up to nearly nine‑fold speedups without extra memory allocations.
GOEXPERIMENTGoSIMD
0 likes · 17 min read

AliSQL 8.0 introduces a shared Nodes Cache and per‑transaction cache to speed up vector queries, implements RC‑level transaction isolation for read‑only and read‑write operations, and leverages SIMD‑based pre‑computation to dramatically improve high‑dimensional vector distance calculations and concurrency performance.
AliSQLSIMDVector Index
0 likes · 9 min read

The article explains how WebAssembly, now in its 3.0 release, adds a fourth language to front‑end development by offering multi‑language support, near‑native performance, and new features such as 64‑bit memory, garbage collection, and tighter JavaScript integration for compute‑intensive web applications.
Front-endMulti-languageSIMD
0 likes · 6 min read

The Auron project, a native vectorized execution engine donated by Kuaishou and now incubated by the Apache Software Foundation, leverages Rust and SIMD to cut resource overhead, achieve over‑two‑fold speedups on TPC‑DS benchmarks, and integrates seamlessly with Spark and other big‑data ecosystems.
Apache incubatorAuronRust
0 likes · 6 min read

This article examines why std::vector can become a bottleneck when handling millions of elements, analyzes memory consumption, insertion/deletion costs, and cache behavior, and presents practical optimizations such as pre‑allocation, move semantics, SIMD vectorization, and cache‑friendly designs illustrated with real‑world case studies and code examples.
C++SIMDmemory optimization
0 likes · 21 min read

This article explains why code can run slowly on resource‑constrained devices and presents eight practical techniques—ranging from loop unrolling and memory access reduction to SIMD intrinsics and table look‑ups—to help C programmers write faster, more efficient code.
CompilerSIMDc-programming
0 likes · 18 min read

This article introduces Java’s emerging Vector API, explains its SIMD‑based design, provides practical code examples for array addition, dot product, and complex calculations, and details performance benchmarks, integration with vector databases, usage considerations, and future development prospects.
SIMDVector APIbackend development
0 likes · 10 min read

The article explains how Go 1.24’s new Swiss Tables hash‑map implementation replaces the traditional bucket‑based design with open addressing, SIMD‑accelerated probing, and metadata separation, detailing the underlying principles, performance advantages, handling of clustering and deletions, and a comparison with previous Go maps and Java’s HashMap.
GoSIMDhash map
0 likes · 16 min read


21CTOFeb 9, 2025 · Backend Development
This article explains how TikTok engineers built Sonic, a high‑performance Go JSON library that leverages JIT compilation, SIMD instructions, smart memory handling, and optional features to dramatically reduce latency and memory usage compared with the standard encoding/json package, offering real‑world cost and speed benefits.
GoJITJSON
0 likes · 9 min read

This article examines SIMD (Single Instruction Multiple Data) technology, its relevance to Go’s performance goals, the challenges of integrating SIMD into Go’s design, current standard‑library limitations, third‑party libraries, compiler support, and practical assembly examples, concluding with prospects for future Go SIMD adoption.
GoSIMDThird‑party libraries
0 likes · 15 min read

This article introduces Flex, a Flink‑compatible stream‑batch vectorized engine built on Velox and Gluten, explains the SIMD‑based execution model, details native operator optimizations, fallback mechanisms, correctness and usability improvements, and presents performance results and future development plans.
FlinkSIMDVelox
0 likes · 17 min read

In just two weeks, engineer Adam Majmudar designed and implemented a minimalist GPU called tiny‑gpu—complete with a custom 11‑instruction ISA, Verilog RTL, and verified via OpenLane—sharing the open‑source project on GitHub, earning thousands of stars, and preparing it for fabrication through Tiny Tapeout 7, showcasing how modern tools make DIY chip design increasingly accessible.
EDAGPUSIMD
0 likes · 8 min read


21CTOApr 15, 2024 · Artificial Intelligence
Modular Inc. announced the open‑source release of Mojo’s core standard library, highlighting its Python‑like syntax, MLIR‑based compiler, SIMD‑first design, eager destruction, and performance claims of being tens of thousands of times faster than Python, positioning it as a potential future‑dominant AI language.
AI programmingCompilerMLIR
0 likes · 14 min read


NewBeeNLPApr 11, 2024 · Artificial Intelligence
Andrej Karpathy released LLM.C, a pure C/CUDA implementation that trains GPT‑2‑style models in about 1,000 lines of code, detailing manual forward/backward passes, memory allocation tricks, SIMD CPU acceleration, CUDA porting, and migration tutorials, while comparing it to PyTorch and discussing broader LLM OS implications.
CUDAGPTLLM training
0 likes · 6 min read

This article details how ByteDance's cloud‑native observability team tackled performance bottlenecks in their metricserver2 Agent—reducing memory copies, merging tiny packets, applying SIMD for tag parsing, and switching compression libraries—to cut CPU usage by over 10% and memory usage by nearly 20% while handling petabyte‑scale metric data.
C++CompressionMsgpack
0 likes · 15 min read

The article introduces Sonic, ByteDance’s high‑performance Go JSON library built with Just‑In‑Time compilation and SIMD vectorization, explains its design motivations, usage patterns, API features, compatibility considerations, and showcases benchmark results that demonstrate its superiority over other popular JSON parsers.
JITJSONLibrary
0 likes · 33 min read

PostgreSQL 16 introduces enhanced parallel query capabilities, incremental sorting, SIMD acceleration, improved logical replication, and new monitoring tools like pg_stat_io, offering notable performance gains while still leaving some long‑awaited features such as XID‑64 absent.
Parallel QueryPostgreSQLSIMD
0 likes · 9 min read

Sonic‑CPP, an open‑source C++ JSON library co‑developed by ByteDance’s STE and Service Framework teams, leverages SIMD vectorization, optimized memory layout, on‑demand parsing, and a compact DOM design to achieve up to 2.5× faster parsing than RapidJSON and competitive serialization performance, with extensive benchmark results and production‑grade usage.
C++JSONSIMD
0 likes · 13 min read

This article explains the motivation, design, and implementation of vectorizing Apache Doris's storage layer using SIMD techniques, covering engine overview, vectorized programming concepts, storage architecture, index and predicate optimizations, delayed materialization, output improvements, and performance test results.
Apache DorisOLAPSIMD
0 likes · 13 min read

This article explains how CPU‑centric vectorization, especially SIMD, reduces instruction count and CPI, addresses the four major CPU bottlenecks, and how StarRocks systematically applies automatic and manual SIMD techniques, verification methods, and a suite of engineering optimizations to achieve multi‑fold query speedups.
CPU optimizationSIMDStarRocks
0 likes · 16 min read

Bilibili’s WasmPlayer is a WebAssembly‑based HEVC software decoder that runs entirely in C/C++, handling demuxing, decoding, resampling and A/V sync on worker threads, using SIMD, AudioWorklet and OffscreenCanvas to deliver smooth 4K 60 fps web video playback with reduced bandwidth and CPU load.
AudioWorkletHEVCSIMD
0 likes · 13 min read

This article introduces graph databases, explains the subgraph‑matching problem, compares it with relational databases, discusses its computational complexity, and surveys backtracking and multi‑way join algorithms, worst‑case optimal joins, set‑intersection SIMD acceleration, and the gStore system’s research contributions.
Graph DatabasesRDFSIMD
0 likes · 19 min read

The article narrates a CPU's journey from a naïve element‑wise increment loop to the adoption of SIMD, MMX, SSE, and AVX instruction sets, illustrating the motivations, challenges, and architectural decisions behind parallelizing integer and floating‑point operations.
CPU architectureInstruction SetMMX
0 likes · 8 min read

This article explains how Apache Doris adopts CPU‑level vectorization and columnar storage to boost query performance, details the design and current status of its vectorized engine, and outlines future work such as JOIN acceleration, storage‑layer vectorization, import optimization, and extensive SQL function support.
Apache DorisSIMDSQL Engine
0 likes · 21 min read

This article presents a backend‑focused study on reducing latency of vector‑based ad recommendation retrieval by leveraging Gonum, SIMD AVX2 intrinsics, and direct Plan9 assembly integration in Go, and it validates the approach with detailed performance benchmarks and CPU usage analysis.
BackendSIMDassembly
0 likes · 17 min read

This article details the engineering optimizations applied to the image cropping stage of Kuaishou's YKit AI SDK, covering instruction-level fixes, SIMD acceleration, I/O cache improvements, algorithmic refinements, parallel processing, and device‑tier strategies to achieve up to 4.6× speedup on mobile devices.
AI SDKNeonSIMD
0 likes · 12 min read

This article explains how Apache Doris adopts CPU vectorization techniques—such as SIMD, columnar storage, and cache‑friendly designs—to boost query performance, detailing its current vectorized engine architecture, recent benchmarks, ongoing work on JOIN, storage, import, and future enhancements.
Apache DorisDatabase PerformanceSIMD
0 likes · 22 min read

This article explores why standard string‑to‑integer conversions become performance bottlenecks in high‑concurrency scenarios and presents a series of increasingly optimized C++ solutions—from native library calls to loop‑unrolled, byteswap, divide‑and‑conquer, and SIMD tricks—demonstrating dramatic speed gains backed by Google Benchmark results.
C++SIMDbyteswap
0 likes · 16 min read

This article introduces the B16 hash table, a novel design that deliberately tolerates a higher hash‑collision probability and leverages SIMD instructions to achieve faster lookups, lower memory overhead, and a compact read‑only variant comparable to minimal perfect hash functions.
B16SIMDhash table
0 likes · 15 min read

Rust 1.54.0 introduces support for invoking function‑like macros within attributes, enabling inclusion of external documentation via include_str! and nested macro usage, while also stabilizing many wasm32 intrinsics—including safe SIMD functions like v128_bitselect—expanding WebAssembly capabilities.
MacrosRustSIMD
0 likes · 3 min read

This article systematically explores concurrency optimization for high‑performance C++ engineering, covering CPU trends, SIMD and out‑of‑order execution, single‑thread parallelism, lock‑free and wait‑free synchronization, and practical case studies of counters and queues to improve multithreaded scalability.
CPU architectureMultithreadingSIMD
0 likes · 35 min read

The article reviews Baidu C++ engineers' concurrency optimizations, explaining why modern software must exploit parallelism and detailing SIMD vectorization, out‑of‑order execution, and micro‑architectural analysis, then compares mutex, lock‑free, and wait‑free synchronization, showcasing case studies where atomic and wait‑free designs dramatically improve multithreaded performance.
ConcurrencyMultithreadingSIMD
0 likes · 35 min read

JDK 16, released on March 16, introduces the Vector API—a set of Java interfaces that translate scalar operations into SIMD instructions, dramatically reducing operation counts and delivering 2‑5× speedups for matrix multiplication and up to 14‑16× for vector dot products, with notable contributions from Tencent’s Kona JDK team.
JDK16JavaSIMD
0 likes · 6 min read

This article revisits traditional hash table design, then introduces a novel approach that deliberately leverages a controlled probability of hash collisions combined with SIMD parallelism, presenting the B16 and B16Compact hash tables, their structures, algorithms, and experimental results showing superior speed and space efficiency compared to unordered_map and F14.
B16C++SIMD
0 likes · 17 min read

The article explains how SIMD acceleration on Qualcomm’s Hexagon DSP, using its HVX vector engine and specialized instructions, can off‑load compute‑intensive tasks such as image, video, and AI processing from the CPU, delivering up to 8× speed‑up, lower power consumption, reduced thermal throttling, and longer battery life on mobile devices.
DSPHexagonSIMD
0 likes · 9 min read

With the rise of mobile, IoT, and edge computing, the long‑standing dominance of x86 is challenged, prompting developers to migrate applications to ARM‑based Kunpeng platforms; this article explains the architectural differences, a five‑step migration methodology, and detailed C/C++ compilation considerations including instruction, macro, and SIMD adaptations.
ARMC++Kunpeng
0 likes · 14 min read

This article explains how PHP's case‑insensitive function handling can be accelerated by implementing a locale‑independent strtolower using SSE2 SIMD instructions in PHP 8, compares it with previous table‑lookup methods, and discusses a further Yaf‑specific optimization.
BackendPHPSIMD
0 likes · 6 min read

This article explains how to use SSE2 SIMD instructions to optimize string replacement operations, demonstrating a 16-character batch processing technique that significantly improves performance for longer strings.
SIMDassemblybatch processing
0 likes · 4 min read

The article analyzes the evolving demands of network I/O, the limitations of traditional kernel‑based networking, and presents DPDK’s user‑space bypass architecture, UIO mechanism, and a series of low‑level optimizations—including HugePages, poll‑mode drivers, SIMD, and cache‑aware coding—to achieve multi‑gigabit packet processing performance on modern Linux servers.
DPDKLinuxSIMD
0 likes · 14 min read

This article explains IBM DB2 BLU Accelerator’s columnar storage, multi‑level compression, TSN‑based logical rows, SIMD processing, intra‑parallel execution, probability‑based caching, and automatic admin features, showing how these technologies together deliver dramatic I/O and performance gains for analytical workloads.
BLU AcceleratorCompressionDB2
0 likes · 15 min read

JavaScript’s role in web performance is critical, and Intel’s new SIMD APIs—now being integrated into Chrome and Firefox—enable cross‑platform, plugin‑free acceleration that can boost script execution by 3‑10× on both x86 and ARM CPUs, as demonstrated on multiple hardware platforms.
Browser PerformanceChromeFirefox
0 likes · 4 min read
