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

Why Use C Language to Write Operating Systems?

Why Use C Language to Write Operating Systems?

Source | The Programmer’s Desert Island SurvivalAuthor | The Programmer’s Desert Island SurvivalHave you ever wondered why most operating systems are written in C rather than other languages? This article provides the answer. C Language is Very Popular in the Processor World First of all, it must be said that C language is really very … Read more

GCC 15 Compiler Nears Completion: COBOL and Itanium Join, ALGOL Exits

GCC 15 Compiler Nears Completion: COBOL and Itanium Join, ALGOL Exits

Introduction: The 15th version of the GNU Compiler Collection is set to be released, during which some changes will be locked. GCC (GNU Compiler Collection) 15 is being updated as planned, and a new front end for COBOL is being introduced. This upgrade will also bring significant improvements to the development of C and C++. … Read more

Differences Between GCC and G++: A Comprehensive Guide

Differences Between GCC and G++: A Comprehensive Guide

GCC (GNU Compiler Collection) and G++ are both compilers developed by GNU, but they have some functional differences. Although they belong to the same toolset, the main difference lies in the programming languages they support and how they handle the compilation of source code. Here is a detailed introduction and comparison of GCC and G++. … Read more

GCC Attributes Worth Learning

GCC Attributes Worth Learning

If you often look at the Linux source code, you must have seen the attribute attribute, which appears many times in Linux. The attribute is an extension of gcc and does not belong to standard C language. Using attributes can modify the properties of variables, functions, or data types, and there are many attributes, some … Read more