Tagged articles
11 articles
Page 1 of 1
Liangxu Linux
Liangxu Linux
Apr 5, 2024 · Fundamentals

Understanding C Memory Layout on STM32: Stack, Heap, and Global Sections

This article explains the C language memory segmentation—including stack, heap, global/static, constant, and code areas—illustrates their behavior on STM32F103 with Keil V5, and provides detailed example code that prints the addresses of variables in each region to demonstrate allocation and lifetime.

CHeapSTM32
0 likes · 9 min read
Understanding C Memory Layout on STM32: Stack, Heap, and Global Sections
Liangxu Linux
Liangxu Linux
Dec 21, 2023 · Fundamentals

Why Global Variables Kill Embedded C Projects—and How to Tame Them

The article warns that overusing global variables in os‑less embedded C projects creates tangled code, blurs system layers, and leads to maintenance nightmares, then offers two core principles and practical tips to limit, encapsulate, and manage globals for more reliable firmware.

Embedded CMicrocontrollerSoftware Architecture
0 likes · 7 min read
Why Global Variables Kill Embedded C Projects—and How to Tame Them
Test Development Learning Exchange
Test Development Learning Exchange
Oct 26, 2023 · Fundamentals

Understanding Global and Local Variables in Python

This article explains the concepts and practical usage scenarios of global and local variables in Python, illustrating their roles in data sharing, configuration, temporary storage, scope isolation, and exception handling with clear code examples for interface automation and general programming.

Code ExamplesPythonglobal variables
0 likes · 5 min read
Understanding Global and Local Variables in Python
Programmer DD
Programmer DD
Jan 1, 2021 · Frontend Development

How I Hacked Chrome’s Dino Game: Uncovering Hidden Global Variables

During a weekend browsing session, I discovered Chrome's offline Dino game, inspected its global JavaScript objects, filtered out native properties using a fresh window, identified the Runner constructor, and manipulated its methods to control the dinosaur's behavior—all without altering the source code.

ChromeDino GameJavaScript
0 likes · 6 min read
How I Hacked Chrome’s Dino Game: Uncovering Hidden Global Variables
GrowingIO Tech Team
GrowingIO Tech Team
Sep 16, 2020 · Frontend Development

How GrowingIO Leveraged Micro‑Frontends for Scalable On‑Premise Deployments

GrowingIO’s frontend team transformed its monolithic SaaS product into a micro‑frontend architecture to support on‑premise deployments, detailing the motivations, design principles, code adaptations, integration strategies, and challenges such as dependency conflicts, global variables, and style isolation.

Frontend Architectureglobal variablesmicro-frontend
0 likes · 11 min read
How GrowingIO Leveraged Micro‑Frontends for Scalable On‑Premise Deployments
JavaScript
JavaScript
Feb 9, 2017 · Frontend Development

Why Can’t You Delete var‑Declared Globals in JavaScript?

JavaScript global variables can be created either explicitly with var or implicitly without it, but only the implicit globals are deletable; this article explains the underlying property descriptor differences, demonstrates delete behavior, and shows how to modify configurability using Object.defineProperty.

Vardelete operatorglobal variables
0 likes · 3 min read
Why Can’t You Delete var‑Declared Globals in JavaScript?