Installing C++ Compiler on UNIX/Linux

Installing C++ Compiler on UNIX/Linux

Installing a C++ compiler (usually <span>g++</span> or <span>clang++</span>) on UNIX/Linux systems is the first step in C++ development. As a typical UNIX-like system, most Linux distributions natively support or can easily install C++ compilers. Below, I will detail how to install a C++ compiler on popular Linux distributions (such as Ubuntu, Debian, CentOS, Fedora, Arch, … Read more

LLVM Weekly #620: Strong Typing for C Language? RISC-V Packed-SIMD Support Lands!

LLVM Weekly #620: Strong Typing for C Language? RISC-V Packed-SIMD Support Lands!

LLVM Ecosystem Pulse The LLVM ecosystem is evolving comprehensively at an unprecedented speed. This week, we not only witnessed the vigorous development of community activities but also observed fundamental discussions on the safety of the C language, instruction-level support for emerging hardware like RISC-V, and the redesign of internal optimization passes. What do these seemingly … Read more

C++ Environment Setup

C++ Environment Setup

When learning and developing C++ programs, the first step is to correctly configure your C++ development environment, which means setting up a toolchain that can write, compile, and run C++ code. Below, I will provide a detailed introduction πŸ‘‡: βœ… 1. C++ Environment Setup β€” Overview of the Process To run C++ programs, you need … Read more

Meta Releases Pyrefly: A Python Language Server Written in Rust, CPython Considers Integrating Rust

Meta Releases Pyrefly: A Python Language Server Written in Rust, CPython Considers Integrating Rust

Meta Releases Pyrefly: A Python Language Server Written in Rust Meta today announced the first public beta of its new Python language server Pyrefly, written in Rust. This project was initially created as an internal tool for Meta’s Instagram developers, who faced significant performance issues while navigating codebases with existing Python tools. Compared to other … Read more

How Does an NPU Operate?

How Does an NPU Operate?

The core of the NPU compilation process is the “operator”. An operator can be understood as each computational step in the model, such as convolution, pooling, and fully connected layers. The compiler determines the destination of each operator through a multi-stage decision process.The core process of separating tasks between the CPU and NPU can be … Read more

Rust News: Release of Rust 1.91.0

Rust News: Release of Rust 1.91.0 Core Updates: Platform support for Windows on Arm64 upgraded to Tier 1; lint checks for dangling raw pointers; stabilization of numerous APIs; Cargo updates stable build.build-dir configuration 1. Platform Support The target aarch64-pc-windows-msvc, which is Windows on Arm64, now enjoys the highest level of support assurance. Rust uses a … Read more

Essential for Linux Developers: An Introduction to GCC and Quick Start Guide

This article is generated by Tencent Yuanbao, with content outline and verification provided by @Xiao Hui~ GCC (GNU Compiler Collection) is a powerful open-source compiler suite that supports multiple programming languages, such as C, C++, Fortran, and more. It is not only the de facto standard compiler on Linux systems but is also widely used … Read more

The First C++ Program: Hello, World!

It is a classic introductory example for learning any programming language, with a simple function: outputting a line of text to the screen: Hello, World! βœ… 1. C++ Hello World Program Code Below is a complete C++ first program that you can run on your computer: #include <iostream> // Include input-output stream library int main() … Read more

The Misunderstanding: Assembly Language is Faster than C Language

The Misunderstanding: Assembly Language is Faster than C Language

First of all, this is a fallacy (are you feeling the urge to argue with me? Please hold on, let me explain slowly). No matter what language is used, the program ultimately runs on the CPU, and only the CPU can execute the program. The CPU does not know what assembly language, C language, or … Read more

Claims of Mastering Core Technology or Just a Rebranded Python? The Domestic Programming Language Mulan Sparks Community Debate

Claims of Mastering Core Technology or Just a Rebranded Python? The Domestic Programming Language Mulan Sparks Community Debate

Reported by Machine Heart Machine Heart Editorial Team Recently, some media reported the emergence of a domestic programming language aimed at smart IoT and programming education, named Mulan. The news sparked discussions in the developer community. However, some discovered that the unpacked program package is actually a Python? Programming languages are essential tools for interaction … Read more