ARM’s NEON vs RISC-V’s P/V Extensions

ARM's NEON vs RISC-V's P/V Extensions

It is well known that RISC-V processor IPs are significantly cheaper than ARM. If your management asks you to consider domestic IP alternatives or budget reductions, the domestic RISC-V IP is undoubtedly the first choice. When comparing performance, should ARM’s NEON be compared to RISC-V’s P extension or V extension? First, let’s introduce RISC-V’s P … Read more

Rust CRC-Fast: 10× Speedup with Just One Line of Code

Rust CRC-Fast: 10× Speedup with Just One Line of Code

CRC (Cyclic Redundancy Check) is a classic error detection algorithm that generates a checksum through polynomial division to verify data integrity. It is widely used in network protocols, file storage, and embedded systems.<span>crc-fast</span> is the fastest CRC implementation library in the Rust ecosystem, maintained by Don MacAskill (originally awesomized), focusing on SIMD (Single Instruction Multiple … Read more

Java vs Rust: Stunning Results from 20 Million Particle Simulation! A Dramatic Turnaround!

Java vs Rust: Stunning Results from 20 Million Particle Simulation! A Dramatic Turnaround!

Follow our official account and send 【Learning】 to receive materials Last week, a new guy in our team asked me: “Boss, why are new projects using Rust? Is Java really outdated?” I didn’t answer directly, but opened the highly discussed 20 million particle simulation experiment on GitHub—this test result might overturn your perception of Java. … Read more

Complete Guide to Rust SIMD Programming: From Beginner to Expert

Introduction In the pursuit of ultimate performance, SIMD (Single Instruction, Multiple Data) is an unavoidable topic. As of 2025, the SIMD ecosystem in Rust has matured significantly, but with so many solutions available, do you feel confused? This article will provide a comprehensive overview of the current state of SIMD in Rust, helping you choose … Read more

Performance Optimization Revealed: How to Achieve a 30x Speed Increase Using SIMD Instructions? (Example of Global Threshold Binarization)

In daily development, we often need to process large amounts of data. For example, performing binarization on images or making threshold judgments on data. Today, we will look at a practical example of how to achieve a 30x speed increase using SIMD instructions! Comparison of Three Methods First, let’s look at the most basic method: … Read more

In-Depth Analysis of SIMD Technology: Cross-Platform Optimization Practices from x86 to ARM Neon

Note: Recently, I have been responsible for migrating inference services to Huawei’s Ascend 910C chip, which uses Kunpeng ARM CPUs. One of the major issues during the migration was the transition of SIMD-related instruction modules from the x86 platform. Here, I will summarize the relevant technical points. In modern processor architectures, SIMD (Single Instruction, Multiple … Read more

simdjson: A Powerful C++ Library

⚡ simdjson: An Ultra-Fast C++ Library for Parsing GB-Level JSON per Second Have you encountered these issues in web services, big data processing, log analysis, database systems, or real-time communication? “JSON parsing is too slow, becoming a bottleneck in the system!”“Is there a faster solution than RapidJSON or nlohmann/json?”“Can we parse several GB of JSON … Read more

Advanced Guide to Rust Optimization: Deep Dive into Reed-Solomon-SIMD and RS-SIMD Showdown

Advanced Guide to Rust Optimization: Deep Dive into Reed-Solomon-SIMD and RS-SIMD Showdown

Introduction and Advanced Background Building on the introductory guide, we have mastered the theory and basic API of RS codes. Now, we enter the advanced realm: the core of <span>reed-solomon-simd</span> lies in its modular design, allowing for custom optimizations through the Engine and Rate traits, perfectly suited for the erasure coding needs of distributed storage … Read more

Decoding Data Guardians: A Comprehensive Guide to Reed-Solomon-SIMD in Rust

Decoding Data Guardians: A Comprehensive Guide to Reed-Solomon-SIMD in Rust

Background and Introduction In the wave of digitalization, data reliability remains an eternal challenge. Reed-Solomon (RS) codes, as a classic forward error correction (FEC) technology, have become a cornerstone of storage and transmission systems since their introduction by Irving Reed and Gustave Solomon in 1960. They can recover lost data from redundancy and are widely … Read more

How SIMD Instructions Accelerate Matrix Computation in EIGEN

How SIMD Instructions Accelerate Matrix Computation in EIGEN

Thought for a couple of seconds SIMD (Single Instruction, Multiple Data) is a form of parallel computing: a single instruction can operate on multiple data elements simultaneously. Eigen utilizes SIMD instruction sets (such as SSE and AVX on x86, NEON on ARM) to significantly accelerate vector/matrix operations. The main principles and mechanisms include: 1. Data … Read more