How to Use GCC Compiler in Keil MDK

How to Use GCC Compiler in Keil MDK

Follow+Star Public Account, don’t miss exciting content Author | strongerHuang WeChat Public Account | strongerHuang A netizen asked: Is the Keil compilation speed a bit slow, does it support GCC compilation? In fact, the compilation speed of Keil MDK using AC6 is relatively much faster. If you find AC5 slow, you might as well try … Read more

Building a Compiler with Rust and LLVM

Building a Compiler with Rust and LLVM

Cyclang is a simple statically typed programming language that supports basic language constructs such as functions, control flow, and arithmetic operations. The language’s feature design is very concise, and the complete language specification can be referenced in the official documentation. The focus of this project is on the process of building a compiler from scratch … Read more

Practical Guide to Developing a Network Chat Application in C++

Practical Guide to Developing a Network Chat Application in C++

1. Introduction: The Power of C++ Behind Network Chat Applications In today’s digital age, network chat applications have become an indispensable part of our lives. Whether chatting with friends and family or collaborating with colleagues at work, popular chat tools like WeChat, QQ, and DingTalk have broken the constraints of time and space, allowing instant … Read more

A Comprehensive Guide to Makefile: From Basics to Advanced Applications

A Comprehensive Guide to Makefile: From Basics to Advanced Applications

Makefile is a compilation control file widely used for automating project builds. It defines a series of rules to guide the build process. With Makefile, developers can easily manage compilation, linking, cleaning, and other tasks for large projects. This article will start with the basic usage of Makefile and gradually delve into more advanced applications, … Read more

The Evolution from Assembly Language to High-Level Programming Languages

The Evolution from Assembly Language to High-Level Programming Languages

Click on the “Zero One Vision” above and select the “Star” public account Resource-rich content delivered promptly Assembly language still forces programmers to think about which registers and memory addresses to use. If you suddenly need an extra number, you might need to change a lot of code. Let’s think about that. 1. Patching “Bugs” … Read more

How Assembly Language Is Translated to Machine Language

How Assembly Language Is Translated to Machine Language

A computer is composed of many logic gate circuits and some electronic components. Different hardware configurations have different instruction sets, which can be represented by mnemonics, known as assembly language. Early assembly languages could be manually translated into machine language by professionals, and then these machine languages were input into the computer for execution and … Read more

Introduction to Assembly Language: A Machine-Oriented Programming Language

Introduction to Assembly Language: A Machine-Oriented Programming Language

Assembly language is a low-level language used for electronic computers, microprocessors, microcontrollers, or other programmable devices, also known as symbolic language. In assembly language, mnemonics replace the operation codes of machine instructions, and address symbols or labels replace the addresses of instructions or operands. Assembly language corresponds to different machine language instruction sets on different … Read more

Deploying LLaMA2 Model on Jetson Cluster

Deploying LLaMA2 Model on Jetson Cluster

In the group, developers often mention that they have several NVIDIA Jetson boards and wonder if they can “combine” them for use. However, I also mentioned that you cannot expect the performance of a cluster to exceed that of a single, more powerful machine, which led to some questions: Today, I saw a tutorial titled … Read more

CMake: Detecting Environment

CMake: Detecting Environment

Introduction: Through previous studies, we have mastered the basic knowledge of CMake and C++. Although CMake is cross-platform, sometimes the source code is not entirely portable. To ensure that our source code can be cross-platform, configuring and/or building the code according to different platforms is an essential part of the project build process. ✦ Detecting … Read more

Exploring the Rust Compiler: GCC vs LLVM

Exploring the Rust Compiler: GCC vs LLVM

The Rust compiler uses a borrow checker to optimize code performance and memory management. Rust code is compiled using the official compiler rustc. rustc uses LLVM optimizations on the backend to convert high-level Rust code into low-level machine code. However, a new GCC frontend called gccrs has recently emerged as an alternative to the rustc … Read more