Tag

C language

0 views collected around this technical thread.

IT Services Circle
IT Services Circle
Feb 15, 2025 · Fundamentals

Why Array Indices Start at Zero: History, Memory Layout, and Practical Benefits

Array indexing begins at zero due to historical decisions dating back to early languages like B and C, memory layout efficiencies that avoid extra subtraction, mathematical elegance of half-open intervals, and practical advantages in loops, hashing, multidimensional arrays, and language design, making zero-based indexing the de‑facto standard.

C languagearray indexingmemory layout
0 likes · 8 min read
Why Array Indices Start at Zero: History, Memory Layout, and Practical Benefits
Java Tech Enthusiast
Java Tech Enthusiast
Jan 31, 2025 · Fundamentals

Why Most Operating Systems Are Written in C

Most operating systems are written in C because its simple, portable syntax, minimal runtime, and direct memory and hardware access let developers write bare‑metal kernels that manage resources efficiently, making C the preferred high‑level language for system programming despite other languages being better for applications.

C languageHardwareOperating Systems
0 likes · 5 min read
Why Most Operating Systems Are Written in C
IT Services Circle
IT Services Circle
Jan 25, 2025 · Fundamentals

Why So Many Programming Languages Start with the Letter “C”

The article explains that the prevalence of programming languages beginning with “C” stems from the historical evolution of BCPL to B to C, after which numerous C‑based derivatives such as C++, C#, Objective‑C, and even unrelated CSS emerged, highlighting C’s foundational role in language design.

C languageC++C++
0 likes · 7 min read
Why So Many Programming Languages Start with the Letter “C”
php中文网 Courses
php中文网 Courses
Jan 15, 2025 · Backend Development

Understanding and Building a PHP Interpreter with C

This course introduces the background and features of PHP, explains the inner workings of the PHP interpreter—including lexical analysis, parsing, and the virtual machine—and guides students through implementing these components in C to create a simple interpreter while enhancing their programming and problem‑solving skills.

C languageCompilerInterpreter
0 likes · 3 min read
Understanding and Building a PHP Interpreter with C
php中文网 Courses
php中文网 Courses
Dec 10, 2024 · Backend Development

Understanding and Building a PHP Interpreter with C

This course introduces the background and features of PHP, explains the role and inner workings of the PHP interpreter—including lexical analysis, parsing, and the virtual machine—and guides students through implementing interpreter modules in C, culminating in a hands‑on project to build a simple PHP interpreter.

C languageCompilerInterpreter
0 likes · 3 min read
Understanding and Building a PHP Interpreter with C
php中文网 Courses
php中文网 Courses
Oct 22, 2024 · Backend Development

Deep Dive into PHP Interpreter: Theory, Implementation, and Hands‑On Projects

This course introduces the background and features of PHP, explains the role and inner workings of the PHP interpreter, and guides learners through building core components such as lexical analysis, parsing, and a virtual machine in C, culminating in a functional mini‑interpreter.

C languageCompilerInterpreter
0 likes · 3 min read
Deep Dive into PHP Interpreter: Theory, Implementation, and Hands‑On Projects
IT Services Circle
IT Services Circle
Sep 5, 2024 · Fundamentals

Benchmarking 27 Programming Languages: Speed, Energy Consumption, and Memory Usage

A recent study benchmarked 27 programming languages using the Computer Language Benchmarks Game and Rosetta Code, measuring execution time, energy consumption via Intel RAPL, and memory usage, revealing that compiled languages like C and Rust dominate performance while interpreted languages lag behind.

C languageMemory usagebenchmark
0 likes · 6 min read
Benchmarking 27 Programming Languages: Speed, Energy Consumption, and Memory Usage
php中文网 Courses
php中文网 Courses
Mar 7, 2024 · Backend Development

Understanding and Implementing a PHP Interpreter in C

This course introduces the background and features of PHP, explains the role and operation of the PHP interpreter, and guides learners through building core components such as lexical analysis, parsing, and a virtual machine in C, enabling hands‑on creation of a simple interpreter.

C languageCompilerInterpreter
0 likes · 3 min read
Understanding and Implementing a PHP Interpreter in C
Java Tech Enthusiast
Java Tech Enthusiast
Jan 4, 2024 · Databases

Redis Simple Dynamic String (SDS) Implementation Overview

Redis implements its own Simple Dynamic String (SDS) instead of plain C strings because SDS stores length for O(1) queries, pre‑allocates extra space and lazily reuses freed bytes, prevents buffer overflows, handles binary data, and uniformly backs all string keys, values and container elements.

C languageDatabaseMemory Management
0 likes · 8 min read
Redis Simple Dynamic String (SDS) Implementation Overview
IT Services Circle
IT Services Circle
Sep 11, 2023 · Artificial Intelligence

Mojo: Modular AI’s New High‑Performance Programming Language for AI Research and Production

Mojo, the new language from Modular AI founded by Chris Lattner, blends Python’s ease of use with C‑level performance via MLIR, offers a Linux‑only SDK with REPL, VS Code, Jupyter support, and claims speedups of up to 68 000× over Python, with example code and a static‑binary build workflow.

AI programmingC languageMLIR
0 likes · 7 min read
Mojo: Modular AI’s New High‑Performance Programming Language for AI Research and Production
macrozheng
macrozheng
Aug 14, 2022 · Fundamentals

How Ken Thompson’s Journey Shaped UNIX, C, and Go – The Untold Story

Ken Thompson, the Turing‑award‑winning computer pioneer, co‑created UNIX, contributed to the Multics project, helped develop the C language, and later co‑designed Go at Google, with a life story that blends groundbreaking OS design, hacker culture, and a passion for aviation.

C languageComputer HistoryGo
0 likes · 12 min read
How Ken Thompson’s Journey Shaped UNIX, C, and Go – The Untold Story
Top Architect
Top Architect
Feb 27, 2022 · Backend Development

Analyzing Redis' Single‑Threaded Model and Event Loop from Source Code

This article examines Redis's single‑threaded architecture by walking through its source code, detailing the main function initialization steps, the event‑loop implementation, and how file and time events are processed, while also noting the promotional messages interspersed throughout.

C languageEvent LoopRedis
0 likes · 12 min read
Analyzing Redis' Single‑Threaded Model and Event Loop from Source Code
php中文网 Courses
php中文网 Courses
Jun 30, 2021 · Backend Development

Understanding PHP's zend_string Structure and Memory Management

This article explains the internal PHP7+ data structures such as _zval_struct, zend_value, and zend_string, detailing their fields, type definitions, memory layout, flexible array usage, and the associated allocation and release macros that enable efficient, binary‑safe string handling in the Zend Engine.

C languageData StructuresMemory Management
0 likes · 11 min read
Understanding PHP's zend_string Structure and Memory Management
php中文网 Courses
php中文网 Courses
Jun 29, 2021 · Backend Development

Analyzing PHP Core: Variables and Zend Engine Structures (Part 1)

This article introduces the PHP variable system by examining the Zend Engine's source code, covering variable naming rules, value types, reference and variable variables, file extensions in the PHP source tree, and a detailed walkthrough of the zend_types.h definitions, unions, structs, and memory‑alignment considerations.

C languageVariablesbackend
0 likes · 32 min read
Analyzing PHP Core: Variables and Zend Engine Structures (Part 1)
Kuaishou Large Model
Kuaishou Large Model
May 28, 2021 · Mobile Development

How to Eliminate High‑Latency Decoding in Moonlight Android for Smooth Game Streaming

This article explains the technical challenges of high‑latency video decoding in Android game streaming with Moonlight, analyzes why it occurs, and provides practical solutions—including API choices, immediate buffer release, frame ordering, and low‑latency vendor configurations—to achieve smoother, low‑delay gameplay.

AndroidC languageMediaCodec
0 likes · 10 min read
How to Eliminate High‑Latency Decoding in Moonlight Android for Smooth Game Streaming
Laravel Tech Community
Laravel Tech Community
Dec 20, 2020 · Fundamentals

TIOBE Programming Language Index – December 2020 Rankings and Trends

The TIOBE Index for December 2020 shows C retaining the top spot while Java, Python, C++, and C# follow, highlights rapid growth for Python and several emerging languages, and presents detailed charts of top‑10 trends, other rankings, historical data, and annual award histories.

C languagePythonRanking
0 likes · 3 min read
TIOBE Programming Language Index – December 2020 Rankings and Trends
macrozheng
macrozheng
Oct 10, 2020 · Fundamentals

Why C Overtook Java in 2020: Insights from the TIOBE Index

The article examines the September 2020 TIOBE programming language index, highlighting C’s rise to the top spot, Java’s decline, the rapid growth of C++ and Python, and discusses how these trends can guide developers in choosing which language to learn.

C languageC++Java
0 likes · 5 min read
Why C Overtook Java in 2020: Insights from the TIOBE Index
IT Xianyu
IT Xianyu
Sep 9, 2020 · Fundamentals

Linux Kernel Maintenance: Linus Torvalds on Aging Maintainers and the Road to Kernel 5.8

Linus Torvalds highlighted the generational challenge of Linux kernel maintenance, the difficulty of finding new maintainers, the importance of trust, the continued dominance of C with emerging Rust support, and previewed the massive upcoming 5.8 release with its new hardware and feature updates.

C languageKernel 5.8Linux
0 likes · 6 min read
Linux Kernel Maintenance: Linus Torvalds on Aging Maintainers and the Road to Kernel 5.8
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Jul 14, 2020 · Fundamentals

Why Zero‑Based Indexing Is Preferred in Programming Languages

The article explains the historical and technical reasons why most programming languages adopt zero‑based indexing for arrays and loops, illustrating the concept with C, Python and early languages, and showing how zero‑based offsets simplify pointer arithmetic and enable elegant slice syntax.

C languagePythonarrays
0 likes · 8 min read
Why Zero‑Based Indexing Is Preferred in Programming Languages
Selected Java Interview Questions
Selected Java Interview Questions
Feb 13, 2020 · Fundamentals

Quick Sort: Overview, Naïve Implementation, Optimizations, and Non‑Recursive Version

This article explains the quick sort algorithm, covering its basic divide‑and‑conquer principle, a naïve C implementation, improvements such as two‑way partitioning, random and median‑of‑three pivot selection, and a non‑recursive version using an explicit stack, with full source code examples.

C languagealgorithm optimizationdivide and conquer
0 likes · 9 min read
Quick Sort: Overview, Naïve Implementation, Optimizations, and Non‑Recursive Version