Configuring C Language: A Comprehensive Guide

Configuring C Language: A Comprehensive Guide

Section 1: Introduction“Before typing my first line of code, I was almost discouraged by C language…”“Want to write your first line of C code but got stuck on configuration—spending half an hour installing the compiler without success, changing environment variables until dizzy, and encountering a bunch of errors, unable to run even ‘hello world’? Don’t … Read more

Installation Guide – Installing GCC on Ubuntu

Installation Guide - Installing GCC on Ubuntu

“I just want to run a Go program, but I found out I need to set up a C compiler first?!”Don’t worry, I’ll guide you through this journey easily. 📌 Prerequisites: You need the following ✔ A computer that can run Ubuntu (like 18.04, 20.04, 22.04)✔ Administrator privileges (you should be able to use <span>sudo</span>)✔ … Read more

Codon: The ‘New Compiler’ That Rockets Python Performance

Codon: The 'New Compiler' That Rockets Python Performance

If you are a long-time Python user, you are certainly familiar with the term “performance bottleneck.” Issues like ineffective multithreading, low efficiency in heavy computations, and relying on C extension packages to barely maintain performance often lead to both love and frustration. However, the emergence of Codon may truly address these longstanding challenges. Codon is … Read more

Struggling with Parallel Programming? CMake Provides a One-Click Solution!

Struggling with Parallel Programming? CMake Provides a One-Click Solution!

Click the blue text to follow the author 1. Introduction In the field of high-performance computing, parallel programming is crucial for fully leveraging the performance potential of modern computer hardware, especially multi-core processors and distributed computing clusters. OpenMP and MPI are two widely used parallel programming models, suitable for shared memory and distributed memory systems, … Read more

So Many Compilers for Embedded Development, Can You Handle It?

So Many Compilers for Embedded Development, Can You Handle It?

Why Are Compilers So Critical? On resource-constrained embedded platforms, compilers are not only responsible for translating source code into machine instructions but also undertake multi-level optimization tasks: Code Optimization and Size Reduction: Through function inlining, loop unrolling, constant propagation, and link-time optimization (LTO), firmware performance is enhanced and size is minimized. Hardware-Related Parameter Configuration: By … Read more

Exploring the Future: The Pinnacle Showdown Between GCC and LLVM in Rust Code Compilation

Exploring the Future: The Pinnacle Showdown Between GCC and LLVM in Rust Code Compilation

The Rust compiler is renowned for its ability to optimize code performance and manage memory, thanks to its borrow checkers. Rust code is compiled using the official compiler <span>rustc</span>, which utilizes LLVM as its backend to optimize and convert high-level Rust code into low-level machine code. However, a recent alternative has emerged called gccrs, which … Read more

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