Tagged articles
7 articles
Page 1 of 1
Liangxu Linux
Liangxu Linux
Nov 4, 2024 · Fundamentals

Unlocking GNU C Extensions: Zero‑Length Arrays, Variable‑Length Arrays, and More

This guide explains key GNU C extensions—including zero‑length and variable‑length arrays, case ranges, statement expressions, typeof, variadic macros, designated initializers, built‑in functions, and attribute syntax—showing how they differ from standard ANSI C and how to use them safely in Linux kernel development.

C extensionsGNU CLinux kernel
0 likes · 10 min read
Unlocking GNU C Extensions: Zero‑Length Arrays, Variable‑Length Arrays, and More
21CTO
21CTO
Jul 20, 2023 · Fundamentals

What’s New in Cython 3.0? A Deep Dive into Its Major Features and Impact

Cython 3.0, announced by co‑developer Dr. Stefan Behnel after nearly five years, drops Python 2 support, aligns fully with Python 3 semantics, improves exception handling and C/C++ interoperability, and resolves compatibility issues that affected tools like the AWS CLI.

C extensionsCythonPython
0 likes · 4 min read
What’s New in Cython 3.0? A Deep Dive into Its Major Features and Impact
Liangxu Linux
Liangxu Linux
Jun 22, 2023 · Backend Development

Mastering GNU C Extensions: typeof, Flexible Arrays, Case Ranges and More in the Linux Kernel

This article explains essential GNU C extensions used in the Linux kernel—including typeof, zero‑length (flexible) arrays, case range labels, designated initializers, variadic macros, function and variable attributes, built‑in functions, asmlinkage, and UL suffixes—showing why they matter and how to apply them safely.

AttributesC extensionsGNU C
0 likes · 13 min read
Mastering GNU C Extensions: typeof, Flexible Arrays, Case Ranges and More in the Linux Kernel
Qunar Tech Salon
Qunar Tech Salon
Sep 1, 2021 · Databases

Implementing Transparent Table Partitioning in PostgreSQL: Strategies, Code Samples, and Performance Gains

This article explains why and when to use table partitioning in PostgreSQL, describes inheritance‑based and declarative partitioning methods (list, range, hash), provides complete SQL and C code examples for creating and maintaining partitions, compares version differences, and shows a real‑world performance improvement case from Qunar.

C extensionsDatabase AdministrationSQL Performance
0 likes · 24 min read
Implementing Transparent Table Partitioning in PostgreSQL: Strategies, Code Samples, and Performance Gains
MaGe Linux Operations
MaGe Linux Operations
Aug 24, 2018 · Fundamentals

20 Proven Python Tricks to Supercharge Your Code Performance

This article presents 20 practical Python performance tips—from choosing O(1) data structures and reducing redundant data to leveraging generators, C extensions, multiprocessing, and profiling tools—complete with benchmark code snippets that demonstrate measurable speed gains across common coding patterns.

C extensionsProfilingPython
0 likes · 16 min read
20 Proven Python Tricks to Supercharge Your Code Performance
Efficient Ops
Efficient Ops
Feb 26, 2018 · Fundamentals

Boost Your Python Speed: 20 Proven Tricks to Slash Execution Time

Learn how to dramatically improve Python performance by choosing optimal data structures, minimizing redundant data, using copy wisely, leveraging dict/set lookups, generators, efficient loops, string joining, proper formatting, fast variable swapping, concise comparisons, C extensions, multiprocessing, PyPy, and profiling tools, all backed by real benchmarks.

BenchmarkingC extensionsCode Profiling
0 likes · 16 min read
Boost Your Python Speed: 20 Proven Tricks to Slash Execution Time