Oh! This Damn C Language!

Oh! This Damn C Language!

Source | Programmer cxuan Author | cxuan Introduction The C language is an abstract and procedural language that is widely used in low-level development. C plays an irreplaceable role in computer architecture and can be said to be the foundation of programming. In other words, regardless of which language you learn, C should be placed … Read more

Learning C Language from Scratch in 2025: How to Write Your First Executable Program? A One-Minute Quick Start Guide!

Learning C Language from Scratch in 2025: How to Write Your First Executable Program? A One-Minute Quick Start Guide!

“From today on, study hard and make progress every day” Repetition is the best method for memory; spend one minute every day to remember the basics of C language. Learning C Language from Scratch in 2025: How to Write Your First Executable Program? A One-Minute Quick Start Guide! 📌 Introduction: Why Does Your First C … Read more

Communication Distances (Serial; Profibus; MPI; Ethernet)

Communication Distances (Serial; Profibus; MPI; Ethernet)

In SIEMENS industrial communication, the most commonly used methods are Serial; Profibus; MPI; and Ethernet communication. The maximum communication distances for each are described in the table below. Serial Communication Type Rate Maximum Distance RS 232C 300~115200bps 15 m 20 mA TTY 9600 bps 1000 m 19,200 bps 500 m 422/485 115.2 kbps 250 m … Read more

C Programming on Linux

C Programming on Linux

Introduction First of all, I believe that foundational knowledge in computer science is timeless, while trendy “practical skills” may quickly become obsolete. This is why, during the major selection process in my sophomore year, I chose the Computer Science and Technology major instead of other flashy fields. In my junior and senior years, when studying … Read more

Xiangteng NPU Chip [6] – Chip Usage Guide and Software Development Reference Materials Summary

Xiangteng NPU Chip [6] - Chip Usage Guide and Software Development Reference Materials Summary

The Xiangteng NPU chip HKN201 neural network processor is a domestically produced, high-performance, multi-core NPU processor launched by Xi’an Xiangteng Microelectronics Technology Co., Ltd., aimed at strong real-time, high-performance, and high-concurrency application scenarios.Applications of the HKN201 neural network processor chip can refer to the NPU chip inference case guidance and Linux platform application guidance documents. … Read more

Embarking on a Wonderful Journey with C++: From “Hello World” to Programming Proficiency

Embarking on a Wonderful Journey with C++: From "Hello World" to Programming Proficiency

Before We Start: Why Engage with Code? Why Learn Programming? (Not Just to Look Cool) In this digital age, programming is like a “magic wand” of the new era! It not only powers those cool tech gadgets but also quietly infiltrates the corners of our lives. Think about it, mobile apps, websites, games, and even … Read more

How Compilers Convert High-Level Languages to Assembly Language

How Compilers Convert High-Level Languages to Assembly Language

For programmers who work daily with high-level programming languages such as Java, C++, C#, and Python, understanding how compilers convert high-level languages into assembly language helps us better comprehend computer programming. Compilers convert high-level languages into assembly language primarily through three steps: lexical analysis, syntax analysis, and syntax tree parsing. This article describes this process … Read more

Rust is Highly Valued! AWS Hires Co-Lead of Rust Compiler Team

Rust is Highly Valued! AWS Hires Co-Lead of Rust Compiler Team

整理 | 钰莹、核子可乐 前有微软使用 Rust 代替 C/C++ 编写 Windows 组件,后有 AWS 雇佣 Rust 编译器团队联合负责人 Felix Klock,Rust 可太香了! AWS Hires Co-Lead of Rust Compiler Team Klock Recently, AWS published an article expressing enthusiasm for Rust, outlining several ways the company is adopting the language. Matt Assay from AWS stated that the company is increasingly using Rust … Read more

Compiler Optimization Options: Analyzing GCC Optimization Parameters in C Language

Compiler Optimization Options: Analyzing GCC Optimization Parameters in C Language

Compiler Optimization Options: Analyzing GCC Optimization Parameters in C Language In C language development, the choice and use of the compiler are crucial. GCC (GNU Compiler Collection) is one of the most commonly used open-source compilers, providing a range of optimization options to improve the execution efficiency of generated code and reduce compilation time. This … Read more

Compiler Theory Interview: Interview Questions on Preprocessor and Compiler in C Language

Compiler Theory Interview: Interview Questions on Preprocessor and Compiler in C Language

Compiler Theory Interview: Interview Questions on Preprocessor and Compiler in C Language In the study and use of the C language, the compilation process is a crucial concept. This article will detail the preprocessor and compiler in C language, and present some related interview questions and their answers to help foundational users better understand this … Read more