Optimizing Polars Expressions: Core Techniques for Accelerating String Processing with SIMD Instruction Sets

Optimizing Polars Expressions: Core Techniques for Accelerating String Processing with SIMD Instruction Sets

Optimizing Polars Expressions: Core Techniques for Accelerating String Processing with SIMD Instruction Sets When I first used Polars to clean up millions of usernames, I stared at the progress bar on the screen in disbelief—what originally took 30 seconds suddenly dropped to 3 seconds. The magic behind this is the perfect combination of SIMD instruction … Read more

Pillow-SIMD: A Python Library for Accelerating Image Processing

Pillow-SIMD: A Python Library for Accelerating Image Processing

Today, let’s talk about a powerful Python library – Pillow-SIMD. The name might sound a bit unfamiliar at first, but don’t worry, let me explain. You may already know Pillow, which is a commonly used image processing library in Python that helps us open, edit, and save various image files. Pillow-SIMD, on the other hand, … Read more

CPU Parallel Processing Architectures: SIMD, MISD, MIMD

CPU Parallel Processing Architectures: SIMD, MISD, MIMD

In 1966, Micheal Flynn classified computer architectures based on the concepts of instruction and data streams, known as Flynn’s taxonomy. Flynn categorized computers into four basic types as follows: Single Instruction Single Data (SISD) systems Single Instruction Multiple Data (SIMD) systems Multiple Instruction Single Data (MISD) systems Multiple Instruction Multiple Data (MIMD) systems Single Instruction … Read more

Optimizing Compute-Intensive Tasks in Go: Parallel Processing with SIMD Instruction Sets for 4x Speedup

Optimizing Compute-Intensive Tasks in Go: Parallel Processing with SIMD Instruction Sets for 4x Speedup

Click the “blue text” above to follow us Have you ever had this experience? You wrote a program to process a large amount of data, went to make a cup of coffee, and came back to find the program still “buzzing” away. Anxiously waiting, you finally conclude: the performance is lacking! Especially when dealing with … Read more

Bioinformatics: Accelerating FASTA Sequence Alignment with SIMD Instruction Sets in Go

Bioinformatics: Accelerating FASTA Sequence Alignment with SIMD Instruction Sets in Go

Click the “blue text” above to follow us Late at night, the laboratory is brightly lit. Old Wang stares at the screen, frowning. “This FASTA sequence alignment is way too slow! How long will it take to align a set of human genomes?” This scene seems familiar, right? In the field of bioinformatics, sequence alignment … Read more

Java Vectorization Programming: Accelerating Image Processing Algorithms with SIMD Instructions

Java Vectorization Programming: Accelerating Image Processing Algorithms with SIMD Instructions

Click the blue text to follow! Java Vectorization Programming: Accelerating Image Processing Algorithms with SIMD Instructions Hello, programmers! Feng is back! Today, let’s talk about something exciting—Java vectorization programming. Don’t be intimidated by this fancy name; it’s simply a black technology that makes your Java code fly! Especially when processing images, the acceleration effect is … Read more

Understanding SIMD Execution

Understanding SIMD Execution

SIMD has played an increasingly important role in processors in recent years, providing significant performance improvements for multimedia applications, and most computations within GPGPU warps are also performed in a SIMD-like manner. Understanding SIMD is crucial for a comprehensive understanding of architecture. This book provides a comprehensive and detailed introduction to the design concepts and … Read more